HI, I am using jreechart for generating pie charts. I am a newbie to this technology. I would like to know, Is it possible to add labels in the pie section of the chart. If possible can any body guide with some sample code.
Thanks in Advance Sudhakar
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35237
7
posted
0
Do you mean something like this:
If so, have a look at these pie chart demos. [ April 21, 2008: Message edited by: Ulf Dittmer ]
I am looking some thing like above only, but with slight difference. I want labes in the chart pie section only, not outside which means, I want the labels in the colored plot section of the pie chart only. Hope I cleared mentioned my requirement. Thanks Sudhakar
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35237
7
posted
0
How are you creating the chart? Most of the ChartFactory.createXYZChart methods have a "showLegend" parameter that can be used to turn the legend on and off.