Histogram using JFreeChart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
juhi
Posts: 15
Joined: Wed Jul 14, 2004 7:19 pm

Histogram using JFreeChart

Post by juhi » Mon Jul 19, 2004 7:08 pm

Hi,

I'm trying to draw a histogram from some tabular data that I have. I'm fairly new to using the JFreeChart library, so can someone please give me some pointers regarding how I can draw a histogram based on some data that I have? For example if my data is like this -

10, 12, 10, 12, 11, 13, 10, 11, 1, 10

how would I plot a histogram showing the frequency of the numbers shown above??

Any help or pointers in this direction will be very much appreciated.

Thanks so much!
Juhi.

Locked