Defalut XYDataSet

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

Defalut XYDataSet

Post by Krazey » Fri May 17, 2002 9:21 am

Hi,

I want use the contrucor of DefaultXYDataset

public DefaultXYDataset(java.lang.Object[][][] data)

Can anyone send me a sample of code using it ? PLZZZZ


Krazey
French prgmr

David Gilbert

Re: Defalut XYDataSet

Post by David Gilbert » Fri May 17, 2002 9:43 am

I'd recommend using the XYSeriesCollection class instead. It implements XYDataset just as the DefaultXYDataset class does, but it gives you more control over the data and a more intuitive API.

Regards,

DG.

Locked