File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Reply 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: 35237
    
    7
Do you mean something like this:



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

Android appsImageJ pluginsJava web charts
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: 35237
    
    7
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: labels in the pie section of piechart
 
Similar Threads
having problems understanding polymorphism combinations
Learning about constants
cewolf PieEnhancer
Who likes pie?
sliders