When creating a DateAxis using the different timezone daylight saving time setting with JVM default(for example, the pc is "Europe/Berlin" with dst, and in program is "GMT+1"), then the chart will draw one more unwanted axis tick label at the begining of the domain axis.
I found the problems in method Month.previous().
The functions is called in DateAxis.previousStandardDate(Date, DateTickUnit) [line 964 and 969].
It using current timezone to create a new Month, but this Month object using default timezone to return a previous Month.
Please run the Test to see the result.
And I modified the Month.java, added a timezone variable and modified some constructors, also methods previous() and next()
Log in to post a comment.