Hello,
Anyone have a simple demo of best use of the DynamicTimeSeriesCollection class ?
Also what would be the best way to do the following :
I currently have a static graph generated from a parsed results file and this works fine and JFreeChart has many features I like...
This results file is actually growing so I would like to generate a dynamic graph. Thats why I would like some example code of the DynamicTimeSeriesCollection.
What would be the best way to approach dynamically plotting the growing results file ?
(it has a very simple format : ms_timestamp, attr_id(multiple), value
Thanks in advance, any help appreciated...
-Alan
DynamicTimeSeriesCollection Demo ?
Re: DynamicTimeSeriesCollection Demo ?
Hi Alan,
You can just use the ordinary TimeSeries/TimeSeriesCollection classes to create a dynamic chart. Update the time series, and the chart should automatically be repainted.
The DynamicTimeSeriesCollection class has been contributed to the JFreeChart project by Irv Thomae, to improve the performance for larger datasets. I don't have any demo code for this class.
Regards,
Dave Gilbert
You can just use the ordinary TimeSeries/TimeSeriesCollection classes to create a dynamic chart. Update the time series, and the chart should automatically be repainted.
The DynamicTimeSeriesCollection class has been contributed to the JFreeChart project by Irv Thomae, to improve the performance for larger datasets. I don't have any demo code for this class.
Regards,
Dave Gilbert