Reputation: 15927
Basically I have a grouped by report that has too many groups, so the pie chart has over 50 different pies. I know it doesn't really make sense to create a pie chart for such a report, but is there a better way to organize the labels so that the pie chart is more readable (other than completely removing them)? I did think of combining those after the top 10, or something like that, but in many cases that would be even worse because it's too evenly spread...
Upvotes: 2
Views: 1468
Reputation: 205785
A few ideas:
Do not add the (factory default) StandardPieSectionLabelGenerator
.
Do use setLegendLabelGenerator()
to display those same labels in the legend.
Do enable tooltips, possibly using a custom StandardPieToolTipGenerator
.
See also this answer about MessageFormat
.
Upvotes: 3