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

Close

#1017 Bad tick mark placement for RelativeDateFormat charts

open
nobody
General (896)
5
2012-11-27
2010-10-14
Lars Holmstrom
No

When using the RelativeDateFormat for Time Series charts (JFreeChart 1.0.13), the tick marks are not placed in a logical fashion. Instead, the tick marks and the corresponding labels appear where they would have before the new time base has been set. This results in tick marks and labels at locations such as 0h1m17s, 0h3m17s, 0h5m17s, etc. instead of the logical 0h0m0s, 0h2m0s, 0h4m0s. I have attached a file containing source code which displays this behavior. It is a slightly modified version of the RelativeDateFormatDemo1.java file included in the demo source.

Discussion