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
When using Pie Charts, sometimes I have values that are too small to display a label inside a slice. For example, the slice for 2% is too small to show a label saying "2%".
I would like labels to be inside slices unless the data value is less than some threshold.
Issue #944 suggested hiding these labels entirely, but I would prefer not to go that route. This pull request added the ability to show labels outside slices, but it seems to do so for every slice.
Is it possible to be selective about displaying labels inside and outside the slice depending on its value?
The text was updated successfully, but these errors were encountered:
if you want that, you're going to have to implement your own logic by subclassing PieChartRenderer and overriding drawValues, as the original code does not easily allow you to do that.
When using Pie Charts, sometimes I have values that are too small to display a label inside a slice. For example, the slice for 2% is too small to show a label saying "2%".
I would like labels to be inside slices unless the data value is less than some threshold.
Issue #944 suggested hiding these labels entirely, but I would prefer not to go that route. This pull request added the ability to show labels outside slices, but it seems to do so for every slice.
Is it possible to be selective about displaying labels inside and outside the slice depending on its value?
The text was updated successfully, but these errors were encountered: