Hi,
I would like to know if there is a limit in the number of categories in a verticalBarChart.
I tried with one category, 2,3 , up to 9.
At 10, I have a Data-exception.
Is there a limit in the number of series too ?
Is there a way to increase this 'bound' ?
nb: the reason whyI need so many categories is simply to draw an histogram where there is one serie only and each category represents one class so 10 is a 'common' number.
Thanks
limit in the number of categories ?
Re: limit in the number of categories ?
Hi Eric,
There's no limit (except that you run out of space for the labels), but there is a bug in the DefaultCategoryDataset class that a few people have reported already. I've fixed it, and will be releasing a new version of JFreeChart and JCommon very soon.
If you are preparing histograms, I would recommend looking at the VerticalXYBarPlot which uses an IntervalXYDataset. I think it would be a better class to use...
Regards,
DG.
There's no limit (except that you run out of space for the labels), but there is a bug in the DefaultCategoryDataset class that a few people have reported already. I've fixed it, and will be releasing a new version of JFreeChart and JCommon very soon.
If you are preparing histograms, I would recommend looking at the VerticalXYBarPlot which uses an IntervalXYDataset. I think it would be a better class to use...
Regards,
DG.