y-axis label position

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

y-axis label position

Post by Madhavi » Tue May 14, 2002 5:38 pm

Hi there!
I have drawn a vertical bar chart using the following command:
JFreeChart chart = ChartFactory.createVerticalBarChart3D("Vertical Bar Chart", "x-axis label", "y-axis label",dataset, true);

I want to adjust the position of the labels used in the above line. This is because the "Y-axis label" is overlapping with y-axis ticks in the chart.
How can I solve this problem? Any ideas???

Thanks
-Madhavi

David Gilbert

Re: y-axis label position

Post by David Gilbert » Tue May 14, 2002 6:16 pm

There is a bug in one of the JDK versions (1.3-something). I switched to the IBM JDK 1.3 and the problem doesn't occur.

Regards,

DG.

Locked