You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: I am using the tidyplot package to create a donut chart with the following code:
energy %>%
tidyplot(y = power, color = energy_type) %>%
add_donut()
I would like to add labels to each sector of the donut chart (for example, percentage or values). Is there a way to add labels in the chart generated by add_donut()? Do I need to use any additional functions or parameters to achieve this?
Thank you!
The text was updated successfully, but these errors were encountered:
Unfortunately, what you want to do is not yet possible in tidyplots. Moreover, the implementation is quite complicated, so I can only point you to a website how to do this in ggplot2:
Unfortunately, what you want to do is not yet possible in tidyplots. Moreover, the implementation is quite complicated, so I can only point you to a website how to do this in ggplot2:
I will leave this issue open. Maybe someday in the future I will find the time to think about an implementation.
Best Jan
Thank you very much for developing the Tidyplots package, and I also appreciate the alternative approaches you provided! Wishing you continued success and improvement!
Description: I am using the tidyplot package to create a donut chart with the following code:
energy %>%
tidyplot(y = power, color = energy_type) %>%
add_donut()
I would like to add labels to each sector of the donut chart (for example, percentage or values). Is there a way to add labels in the chart generated by add_donut()? Do I need to use any additional functions or parameters to achieve this?
Thank you!
The text was updated successfully, but these errors were encountered: