2

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...

Stephane Grenier
  • 15,006
  • 37
  • 109
  • 185

1 Answers1

3

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.

Community
  • 1
  • 1
trashgod
  • 200,320
  • 28
  • 229
  • 974