How to customize what's displaying in the X-axis

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

How to customize what's displaying in the X-axis

Post by Linh Nguyen » Fri May 31, 2002 2:38 pm

Hi,

I want my Y-axis to have the values YYYY-MM-DD HH:MM:SS, how do I do that?

Thanks, Linh

David Gilbert

Re: How to customize what's displaying in the X-axis

Post by David Gilbert » Fri May 31, 2002 4:21 pm

This post has some sample code:

http://www.object-refinery.com/phorum-3 ... 997&t=1996

The API for controlling the units on the date axes is still a bit messy, I've been meaning to change it to something similar to the number axis classes (NumberTickUnit), but haven't had time to do it yet.

Regards,

DG.

Locked