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
It looks great except that I want a clockwise direction from the largest to the smallest. I could sort p according to the decreasing order of count, as follows;
Thanks for your kind advice! ggpie is designed to set through factor levels to deal with diverse needs. In your example, you only need to add single-line code to meet your needs, so it's not very complicated in my opinion.
@showteeth,
I have a following count table (data.table obj) ;
I created a pie chart by following;
A resulting figure is as follows;
It looks great except that I want a clockwise direction from the largest to the smallest. I could sort
p
according to the decreasing order ofcount
, as follows;I get a following pie;
![Rplot](https://user-images.githubusercontent.com/3075799/219826323-07db196d-c357-4a06-97f3-963b21279fe1.png)
Labelling flipped but not the pie. In order to get the right pie, I have to a following;
Could you possible add the easier option to reverse the order of pie slices and corresponding legend ?
Thanks again.
The text was updated successfully, but these errors were encountered: