Reputation: 289
I can use a TimeSeries
to plot 1 minute data using JFreeChart
. I'm wondering if there's an easy to plot other time intervals like 5 min or 15 min, etc? It seems like there are only Minute
, Hour
, Day
, etc. for RegularTimePeriod
implementation.
Upvotes: 2
Views: 2468
Reputation: 205875
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.
Upvotes: 2