I am trying to create real-time candlestick chart using JFreeChart.
How do i convert a time series into OHLC to use in Jfreechart?
I'm taking a price and time snapshot of data and storing into a mysql database. I am trying to java client and jfreechart to generate candlestick charts of the time series, but I also want to be able to select the bar size (5 min, 15 min, etc) from the java client.. (i am pulling data into java client using java hibernate) so how do I take a continious series and convert to X min ohlc?