Hi All,
I am facing this problem when I am overriding the refreshTicksHorizontal.
Suppose I have only one date say May 22.. If I do
getMinimumDate() I am getting the date as "Sat May21 23:59:59 IST 2007". and getMaximumDate() as "Sun May 22 00:00:00 IST 2007". But since I have a single date I want to display only that date. How can I get the exact date i.e.
If I give data for May 21 then min and max date are both May 21.
If I give data from May 21 to May 25 then the min date is May 21 and max date is May 25.
Regards,
Narayan
Problem with overriding refreshTicksHorizontal
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
By overriding the refreshTicks() method you have the opportunity to supply the list of values and labels that will be displayed along the axis. At that point, the axis range is already determined, so I'm not sure what you want to do with the min/max dates?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

