Dynamic Data with Candlestick or HighLow

Discussion about JFreeChart related to stockmarket charts.
Locked
ITVGuy2000
Posts: 2
Joined: Thu Nov 06, 2008 11:05 pm

Dynamic Data with Candlestick or HighLow

Post by ITVGuy2000 » Thu Nov 06, 2008 11:12 pm

How would I add the ability to dynamically add OHLC items to an OHLCDataSet, and expect the chart to update due to changeEvents. I would like to have a similar interface and behavior to a TimeSeries where I can simply add() new OHLC items.

Is this possible? Can anyone offer some code?

Thanks

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Fri Nov 07, 2008 11:37 am

Use OHLCSeries/OHLCSeriesCollection in the org.jfree.data.time.ohlc package (since JFreeChart 1.0.4).
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked