I searched around for a while in the forums, etc. but wasn't able to find an answer, so my apologies if this has already been addressed elsewhere.
I'm using a DataViz pie chart and would like to have the option for labels to show outside the pie or on the pie slices themselves. I can accomplish this by setting series.labels.position to outsideEnd for outside the chart and centered to render them on the pie slices.
However, if there are pie slices that are too small (let's say %5 of the pie or less) having the labels render on the pie slice is not very useful, and I'd like to have them render outsider the pie. In other words, it would be nice if there were an option to tell the chart to render the label on the slice except in cases where the slice is too small, in which case the label will automatically render outside the slice. This sort of behavior seems pretty standard in other pie charts I've seen in the past.
Is there a way to easily do this?
Thanks!
--Joel
I'm using a DataViz pie chart and would like to have the option for labels to show outside the pie or on the pie slices themselves. I can accomplish this by setting series.labels.position to outsideEnd for outside the chart and centered to render them on the pie slices.
However, if there are pie slices that are too small (let's say %5 of the pie or less) having the labels render on the pie slice is not very useful, and I'd like to have them render outsider the pie. In other words, it would be nice if there were an option to tell the chart to render the label on the slice except in cases where the slice is too small, in which case the label will automatically render outside the slice. This sort of behavior seems pretty standard in other pie charts I've seen in the past.
Is there a way to easily do this?
Thanks!
--Joel