开发者

JFreeChart Timeseries RegularTimePeriod

开发者 https://www.devze.com 2023-04-04 00:47 出处:网络
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

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消