Add adornment to xAxis

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

Add adornment to xAxis

Post by Suprigya » Tue Dec 10, 2002 11:10 pm

Hi,
How can I add some text at the end of x-axis. I want display the timeZone of the dates For Example. if the line below is x-axis, I want to add CDT at the end.


-------------------------------------------------
CDT

Thanks,
Suprigya.

David Gilbert

Re: Add adornment to xAxis

Post by David Gilbert » Thu Dec 12, 2002 12:51 am

Hi Suprigya,

At present, there is no feature to support that...except for modifying the source code directly. Look in the draw(...) method in the HorizontalDateAxis class (or whichever axis class you are using)...it would not be difficult to add some additional drawing in there.

Regards,

DG

Locked