I can use a TimeSeries
to plot 1 minute data using JFreeChart
. I'm wondering if there's an easy to plot other time i开发者_Python百科ntervals like 5 min or 15 min, etc? It seems like there are only Minute
, Hour
, Day
, etc. for RegularTimePeriod
implementation.
You could introduce a new org.jfree.data.time.RegularTimePeriod
, such as PentaMinute
or QuarterHour
, but I'm skeptical of the usefulness. Alternatively, you might examine the approach adopted for a period of n Millisecond
, discussed here and here.
精彩评论