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
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: 60782
    
  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: 41115
    
  45
The JFreeChart library can generate pie charts (and all other kinds of charts).


Ping & DNS - my free Android networking tools app
rosy Jovita
Ranch Hand

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

Joined: Oct 13, 2005
Posts: 38016
    
  22
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: display data in pie chart
 
Similar Threads
Creating pie charts
How dipsplay images in Struts
Applet including another applet
i want to display some stats using a pie chart in jsp/java please guide me
Pie Chart in Excel