Dynamic OHLC chart - inserting new bars
Dynamic OHLC chart - inserting new bars
Hello, I can't find how to dynamically add bars to existing OHCL chart?
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Re: Dynamic OHLC chart - inserting new bars
Are you using the OHLCSeriesCollection class as your dataset? OHLCSeries allows you to add new items.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
Re: Dynamic OHLC chart - inserting new bars
I use custom DefaultOHLCDataset with added List field.
I will test OHLCSeriesCollection, thank you for help.
I will test OHLCSeriesCollection, thank you for help.
Re: Dynamic OHLC chart - inserting new bars
I tested OHLCSeriesCollection, it is functional, but loading performace is bad.
You can implement List<DefaultOHLCDataItem> to ie. DefaultListOHLCDataset?
I can send you source code. It is little change and somebody can use it...
You can implement List<DefaultOHLCDataItem> to ie. DefaultListOHLCDataset?
I can send you source code. It is little change and somebody can use it...