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.
ProbConfusion when reading Inside Jfreechart.pdf
RE: ProbConfusion when reading Inside Jfreechart.p
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.
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.