Where is DateTickUnit documentation?

后端 未结 2 1281
故里飘歌
故里飘歌 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.

提交回复
热议问题