ProbConfusion when reading Inside Jfreechart.pdf

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

ProbConfusion when reading Inside Jfreechart.pdf

Post by Ray » Thu Dec 06, 2001 5:54 am

Hi,

Just downloaded this package,
In INside Jfreechart.pdf, page 7

CategoryDataSource myDataSource = new DefaultCategoryDataSource(data);

Where is CategoryDataSource?? I can't find it . From demo, looks like
it should be CategoryDataset.

but how about
JFreeChart myChart = JFreeChart.createVerticalBarChart(myDataSource);

Check JFreeChart class API, no such method.

And where can I find the javaDoc for jrefinery/data/*

Thanks.

David Gilbert

RE: ProbConfusion when reading Inside Jfreechart.p

Post by David Gilbert » Thu Dec 06, 2001 10:09 am

Hi Ray,

The documentation is for the previous version 0.5.*. I think it says that on the download page, and in the documentation, but I'll try to make it clearer.

In version 0.6.0 all the XXXDataSource classes changed name to XXXDataset and moved into the JCommon class library which you can download from this website.

The factory methods in JFreeChart have been moved into a separate class ChartFactory.

API changes will continue to happen as JFreeChart develops towards version 1.0.

Regards,

DG.

Locked