xydataset

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

xydataset

Post by Yobidodo » Wed Dec 11, 2002 1:47 pm

Maybe i'm stupid, but i really cant figure out the xydataset for a linexychart.
Does anyone know how to add simple numbers like 10,20,10,40, etc and that you get a nice graph, with only a line ??
Sorry for my stupidity

David Gilbert

Re: xydataset

Post by David Gilbert » Thu Dec 12, 2002 12:35 am

You don't use the XYDataset interface directly, but instead use a class that implements the interface (like XYSeriesCollection). A good example to try is the XYSeriesDemo.java application in the src/com/jrefinery/chart/demo directory.

Regards,

DG

Yobidodo

Re: xydataset

Post by Yobidodo » Thu Dec 12, 2002 2:42 pm

Thanx, it worked...

Keep up the good work, this is beautiful stuff :D

Johan

Locked