I'm working with a PiePlot3D, but I've faced a problem related to labels spacing.
Check the picture below:
As you can see, when the sections are too small, it's not possible to see the percentages clearly, because two labels are one over the other.
Do you have any tips to solve this problem?
Thank you very much!
PS: This is my labels' config:
Code: Select all
plot.setSimpleLabels(true);
plot.setLabelFont(new Font("SansSerif", Font.BOLD, fontSize));
plot.setLabelPaint(Color.WHITE);
plot.setLabelBackgroundPaint(null);
plot.setLabelOutlinePaint(null);
plot.setLabelShadowPaint(null);
plot.setLabelGenerator(new StandardPieSectionLabelGenerator("{2}"));