I have a piechart with aprox. 15 labels, but these turn out to be superposed: how can I solve it?
Thank you
Cristina
Superposed labels
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Make sure you are using a recent release of JFreeChart, the pie labelling is much better than it was. If that doesn't help, then you'll need to look at consolidating some of the items in your dataset - you can either do that in your own code or make use of the limitPieDataset() method in the DatasetUtilities class.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
In the multi pie plot, there is less room for labels. Also, this class uses a CategoryDataset as its source of data, so you have less scope to consolidate small value items (it could be done, but you'd need to write the code yourself to handle this).
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

