A discussion forum for JFreeChart (a 2D chart library for the Java platform).
-
sakaray_c
- Posts: 31
- Joined: Mon Dec 22, 2003 11:35 am
Post
by sakaray_c » Thu Mar 04, 2004 8:01 am
Hi,
How to generate pie chart section labels in the format "20 (55)". Currently am using PiePlot.PERCENT_LABELS which displays values with %. But we want to display the labels in the format mentioned above.
For bar charts we could able to this by using CategoryItemLabelGenerator.
But for Pie Charts how to display the labels in the above mentioned format. we are using CategoryDataset for generating Pie Charts.
Thanks and Regards,
sakaray_c
-
david.gilbert
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
-
Contact:
Post
by david.gilbert » Fri Mar 05, 2004 4:21 pm
The label styles are fixed in 0.9.16. But the pie chart code is being worked on at the moment, and the 0.9.17 release will most likely have a PieItemLabelGenerator that allows you to customise the labels.