DateAxis - How to set values permanently

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
kyunam
Posts: 9
Joined: Wed Jan 28, 2004 3:10 am

DateAxis - How to set values permanently

Post by kyunam » Thu Feb 05, 2004 11:58 pm

No matter what domain time values are, I want to have the axis in the following fixed format:

12:00 am 1:00 am ..... 11:00 pm 12:00 pm

How do I do that?

Thanks.

Q

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Feb 06, 2004 1:38 pm

Use the setTickUnit() method in the DateAxis class.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked