Where is DateTickUnit documentation?

后端 未结 2 1258
故里飘歌
故里飘歌 2021-01-23 19:35

I need to change the default DateTickUnit settings for different zoom levels for a TimeseriesChart, but can´t find the place i need to read in the documentation? I would greatly

相关标签:
2条回答
  • 2021-01-23 20:31

    DateAxis has two static factories for creating standard date tick units. These methods, createStandardDateTickUnits(), describe how "to create your own collection." The setTickUnit() methods replace the default with your own DateTickUnit. The constructor having a DateFormat is particularly convenient.

    If this is terra incognita, I'd recommend The JFreeChart Developer Guide.

    Disclaimer: Not affiliated with Object Refinery Limited; just a satisfied customer and very minor contributor.

    0 讨论(0)
  • 2021-01-23 20:35

    Here is the Java API for TimeSeriesChartDemo1: http://www.jfree.org/jfreechart/api/javadoc/org/jfree/chart/demo/TimeSeriesChartDemo1.html

    The zoom levels documentation will be found in one of the inherited methods. I would recommend finding the exact component that requires the zoom to be changed on. Then checking the API for that java.awt component

    0 讨论(0)
提交回复
热议问题