I have a class MyDataItem extended from DataItem. That class has extra atributes that I use later, for coloring.
I put them in a TimeSeries collection. Is miss an "addOrUpdate(TimeSeriesDataItem) " method like the "add(TimeSeriesDataItem)".
Is it possible to include the following diff into o TimeSeries?
addOrUpdate(TimeSeriesDataItem)
Unit test
I've made a change to support this, but as part of it I've modified the TimeSeries and XYSeries classes so that they clone the data item objects before storing them or returning them from storage. This isolates the series from changes being made directly on the data items. This has been committed to Subversion for inclusion in the 1.0.14 release.