OverlaidBarChartDemo with labels on the x-axis

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

OverlaidBarChartDemo with labels on the x-axis

Post by Edmund Geesken » Wed Feb 12, 2003 3:01 pm

Hi, i try to adapt the OverlaidBarChartDemo which comes with the 0.9.5 version, to get the labels of my BarChart displayed as the x-axis values.

I can not get it to work. I looked into the corresponding VerticalBarChartDemo and created my own method for creating the Dataset
DatasetUtilities.createCategoryDataset()

with dataset.addValue(result.addValue(value, string1, xLabel)

but nothing is going to be displayed on the x-axis of my chart.
I assumed, the value of the xLabel would be displayed on the x-axis.

Any idea??

Regards
Edmund

David Gilbert

Re: OverlaidBarChartDemo with labels on the x-axis

Post by David Gilbert » Fri Feb 14, 2003 7:46 am

This is a bug that is fixed in CVS ready for the 0.9.6 release.

Regards,

Dave Gilbert

Locked