Gantt Tick Marks

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

Gantt Tick Marks

Post by Jon Theophilus » Wed Oct 30, 2002 11:17 pm

I am able to display one year at a time, but only a few tick marks show. I would like to show all 12 months on the scale. Also format the label to look like JAN-02

Thanks,
Jon

Dave Gilbert

Re: Gantt Tick Marks

Post by Dave Gilbert » Thu Oct 31, 2002 10:50 am

You can use the setTickUnit(...) method in the DateAxis class to change the tick size and format.

Regards,

DG.

Locked