Skip to main content

[JFreeChart] what kind of charts I must use ?

1 reply [Last post]
sylsau
Offline
Joined: 2007-04-14
Points: 0

Hi,

I begin with JFreeChart so it's a little bit difficult for me. So excuse me if my question seems to you very simple !

So, I have data that could be displayed in a histogram at 2 dimensions. In the X Axis, the values are doubles and in the Y Axis the values are integers.

For example, I would like to put a bar of my histogram at the value 1.32 on the X Axis with a value of 45 on the Y axis. Besides, I would like to speciy the width of my bar.

So, my question is : what kind of JFreeChart charts I must use to do that ?

Thanks by advance for your help.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jwenting
Offline
Joined: 2003-12-02
Points: 0

Look at the examples, they're quite comprehensive.

What you're looking for is a bar chart.