wood burning stoves 2.0*
The moose likes Java in General and the fly likes Barchart representation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Barchart representation" Watch "Barchart representation" New topic

Barchart representation

Vibha Verma
Ranch Hand

Joined: Jan 15, 2002
Posts: 107
Could anyone please help me in representing my data in barchart form using Java, which calsses can I use for that.
Wirianto Djunaidi
Ranch Hand

Joined: Mar 20, 2001
Posts: 210

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

Joined: Jul 14, 2001
Posts: 375
Hi Vibha,
Have a look at JFreeChart.
Ashish Hareet
Consider Paul's rocket mass heater.
subject: Barchart representation
Similar Threads
Graph Drawing in Java
Jfreechart with two things on x-axis
barchart label issue
java api to create a bar chart
Problem with <jsp:usebean tag>