aspose file tools*
The moose likes Other Open Source Projects and the fly likes labels in the pie section of piechart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "labels in the pie section of piechart" Watch "labels in the pie section of piechart" New topic
Author

labels in the pie section of piechart

Sudhakar Rao
Ranch Hand

Joined: May 21, 2005
Posts: 36
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: 42612
    
  65
Do you mean something like this:



If so, have a look at these pie chart demos.
[ April 21, 2008: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
Sudhakar Rao
Ranch Hand

Joined: May 21, 2005
Posts: 36
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: 42612
    
  65
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: labels in the pie section of piechart