Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Barchart representation

 
Vibha Verma
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone please help me in representing my data in barchart form using Java, which calsses can I use for that.
Thanks.
Vibha
 
Wirianto Djunaidi
Ranch Hand
Posts: 210
Ruby Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the easiest way probably to use an existing charting/graphics library. There's a bunch of them at Sourceforge.net.
If you want to make your own, than you can
either use java.awt.Canvas or make your own
Barchart object extending JComponent.
 
Ashish Hareet
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vibha,
Have a look at JFreeChart.
HTH
Ashish Hareet
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic