microsoft / vivainsights

R library to analyze and visualize data from Viva Insights Analyst Experience
https://microsoft.github.io/vivainsights/
Other
10 stars 2 forks source link

Issue in create_stacked when metrics set to one metric then as well it shows collaboration hours #31

Closed sachinstl closed 3 months ago

sachinstl commented 3 months ago

In create_stacked function, here I have used _“meetinghours” metric but title of the plot shows collaboration hours.

pq_data %>% 
  create_stacked ( 
                  hrvar = "FunctionType", 
                 metrics = "Meeting_hours", 
                 return = "plot" 
                 ) 

image

Improvement: Change the plot title according to the metric when metric has single value