drawing line graphs on 5 min candlesticks

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
undernet
Posts: 1
Joined: Wed May 06, 2020 9:32 pm
antibot: No, of course not.

drawing line graphs on 5 min candlesticks

Post by undernet » Wed May 06, 2020 9:42 pm

Hi

I am displaying a 5 min candlestick graph and I want to display other related data also at 5 min resolution, so one data point for each 5 min candle. I know how to display them both together but I don't know how to create a TimeSeries using 5 minute resolution. There is no 5 minute class extending RegularTimePeriod that TimeSeries.add requires so the data maps to the candles, only 1 minute, 1 hour etc.

So short of creating my own 5Minute class that extends RegularTimePeriod I don't know what else to do?

Post Reply