cardiomoon / webr

31 stars 18 forks source link

Control accuracy of percent in donut chart #12

Open hope-data-science opened 2 years ago

hope-data-science commented 2 years ago

Hello. The figure exported by PieDonut is beautiful. However, I find it hard to control the accuracy of percent in the display. Is there a short cut to control it? (Currently is automatically gives two digits and I can't control it) Moreover, it would be great if we can also control more details, such as displaying the number (or both) rather than proportion in the figure. Thanks.

SebastianHesse commented 1 year ago

I second Hope, would be great to trim percentages to integers!

Also, showing sounds instead of percentages would also be great (im currently solving this via the creation of labels that include the counts)