File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes display data in pie chart Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "display data in pie chart" Watch "display data in pie chart" New topic
Author

display data in pie chart

rosy Jovita
Ranch Hand

Joined: Jan 05, 2010
Posts: 45
HI all,

i have a collection of data and i would like to display it in a pie chart.
anyone have idea how to do that? thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Do think that perhaps some more context would be helpful?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
The JFreeChart library can generate pie charts (and all other kinds of charts).


Ping & DNS - updated with new look and Ping home screen widget
rosy Jovita
Ranch Hand

Joined: Jan 05, 2010
Posts: 45
thanks ulf, i'll try that.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36478
    
  16
You can also use methods of the Graphics class; this one looks promising.

But that sounds more like a Swing question, so I shall move this thread to our GUIs forum.
 
wood burning stoves
 
subject: display data in pie chart
 
Similar Threads
How dipsplay images in Struts
Pie Chart in Excel
i want to display some stats using a pie chart in jsp/java please guide me
Creating pie charts
Applet including another applet