I have a Pie, with a lot of label (eleven). They overlap.
Is there a method to adjust the label position?
I found PieLabelDistributor, but I suppose it is not the right class.
Thanks
AA
Label overlapping in a Pie
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
For now, all you can do is:
(1) Change the start angle for the pie plot (setStartAngle()) to try to get the labels more evenly distributed on both sides of the plot;
(2) Eliminate some of the smaller sections in the plot - see DatasetUtilities.createConsolidatedPieDataset()).
At some point, I'll try to improve the labelling code to fit even more labels in.
(1) Change the start angle for the pie plot (setStartAngle()) to try to get the labels more evenly distributed on both sides of the plot;
(2) Eliminate some of the smaller sections in the plot - see DatasetUtilities.createConsolidatedPieDataset()).
At some point, I'll try to improve the labelling code to fit even more labels in.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


It works!!!!!!!!!!!!!!
Thanks a lot!
A simple rotation solved the problem!
Bye,
AA
A simple rotation solved the problem!
Bye,
AA