Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

display data in pie chart

 
rosy Jovita
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64847
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do think that perhaps some more context would be helpful?
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JFreeChart library can generate pie charts (and all other kinds of charts).
 
rosy Jovita
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ulf, i'll try that.
 
Campbell Ritchie
Sheriff
Pie
Posts: 48971
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic