line chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Sylvia

line chart

Post by Sylvia » Tue Feb 12, 2002 2:16 pm

Hi,

I´m an absolute beginner in programming charts with JFreeChart, so I need some help. I would like to create a line chart and I don´t know which dataset to use. Maybe somebody could give me some advice how to start.

Thank you for helping.

David Gilbert

Re: line chart

Post by David Gilbert » Wed Feb 13, 2002 9:39 am

Hi Sylvia,

The term line chart is a little ambiguous...I've used it to describe a plot that uses a CategoryDataset where the data points in each series are connected by lines.

JFreeChart also has an XYPlot class that uses an XYDataset where the data points in each series can also be connected with lines.

There's an example of each in the demo application...

Regards,

DG.

Locked