Hi,
Is it possible to have an XAxis with Date+Time labels that look like this:
25/11/2002 15:44
I tried with basicTimeSeries.add(new Day(25, SerialDate.NOVEMBER, 2002), 1);
and with basicTimeSeries.add(new Minute(new Date()), 1);
but both are not suitable I think
Thanks in advance !
David
Date Time labels
Re: Date Time labels
The axis label formatting is not connected to the frequency of the data in your dataset. It is all controlled by the DateFormat object in the DateTickUnit used by the DateAxis class.
The DateTickUnit is, by default, automatically selected from a standard collection of units that is created in the createStandardTickUnits() method of the DateAxis class. But you are free to create your own collection if you want to, and register it with the axis using the setStandardTickUnits(...) method.
Or, you can manually specify a single DateTickUnit for the axis. See this post for an example:
http://www.object-refinery.com/phorum-3 ... 843&t=5843
Regards,
DG
The DateTickUnit is, by default, automatically selected from a standard collection of units that is created in the createStandardTickUnits() method of the DateAxis class. But you are free to create your own collection if you want to, and register it with the axis using the setStandardTickUnits(...) method.
Or, you can manually specify a single DateTickUnit for the axis. See this post for an example:
http://www.object-refinery.com/phorum-3 ... 843&t=5843
Regards,
DG