microsoft / vivainsights-py

Python package for Analyzing and Visualizing data from Viva Insights
https://microsoft.github.io/vivainsights-py/
Other
14 stars 2 forks source link

Issue in `create_line()` functionality, Most of the time legend is overlapping with the plot #30

Closed sachinstl closed 1 month ago

sachinstl commented 2 months ago

In create_line() function, most of the time legend is overlapping with the plot, we cant see the line clearly.

create_line(data = pq_data, metric = "Collaboration_hours", hrvar = "FunctionType", return_type = "plot")

image

create_line(data = pq_data, metric = "After_hours_collaboration_hours", hrvar = "Organization", return_type = "plot")

image

create_line(data = pq_data, metric = "After_hours_collaboration_hours", hrvar = "FunctionType", return_type = "plot")

image

Resolution: Maybe we can consider doing separate (faceted) grid plots if we have more than 4 or 5 series. Example