YuLab-SMU / scatterpie

:art: scatter pie plot
https://cran.r-project.org/package=scatterpie
60 stars 16 forks source link

Changing colors and legend #14

Open JulongWei opened 6 years ago

JulongWei commented 6 years ago

Hi,

Thanks for your providing useful package. That makes life easier once again. But I have some questions to ask you: (1) Could We set the different colors of parts of each pie using your function or through scale_colour_manual? (2) larger number has a bigger pie plot. Could we provide the legends by ourselves, legend name and size?

Best, Julong

junyinglim commented 5 years ago

Because the package effectively creates a boxplot and circularizes it, instead of colour (which is defines the borders of the box / pie chart) you can change the colour using scale_fill_manual