Move domain axis lable from bottom of chart to top

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

Move domain axis lable from bottom of chart to top

Post by Kenny Dubuisson » Fri Nov 29, 2002 6:16 pm

I would like to move the domain axis labels (in my case dates) from the bottom of the chart to the top of the chart. Any ideas?

Thanks,
Kenny

David Gilbert

Re: Move domain axis lable from bottom of chart to top

Post by David Gilbert » Fri Nov 29, 2002 6:24 pm

Hi Kenny,

In the latest CVS code, you can use:

plot.setDomainAxisLocation(Axis.TOP);

This feature will be incorporated in 0.9.5 when it is released.

Regards,

DG

Locked