Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#946 DST Daylight Savings Time Axis Display Error

open
nobody
None
5
2012-11-27
2009-07-22
Runningfrenzy
No

Time values for the domain axis do not appear for the XYPlot when crossing the fall DST time overlap.

When updating the range on a DateAxis attached to an XYPlot, and the range occurs across the fall DST time change interval with the start time within the first hour of the time change, and the end time occurring within the repeated hour of time change, the chart will not draw the domain axis values. (i.e. the lower date would occur within the first hour, and the upper date would occur within the second hour).

The problem has been traced within the DateAxis class's "previousStandardDate" function, which converts the java util Date to a java util Calendar date and returns the time one hour off.

Discussion