PiePlot3D Labels Spacing

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
rgodoi
Posts: 1
Joined: Mon Mar 28, 2011 2:34 pm
antibot: No, of course not.

PiePlot3D Labels Spacing

Post by rgodoi » Mon Mar 28, 2011 2:51 pm

Hello there! :)

I'm working with a PiePlot3D, but I've faced a problem related to labels spacing.

Check the picture below:

Image

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}"));

Locked