yuxinburen / achartengine

Automatically exported from code.google.com/p/achartengine
0 stars 0 forks source link

Patch: #293

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Impossible to efficiently clear and replace all XY series from a 
XYMultipleSeriesDataset .

I suggest to patch the XYMultipeSeriesDataset in order to add 2 methods:

        /**
     * Remove all the series in this dataset.
     * 
     */
    public synchronized void clear() {
        mSeries.clear();
    }
    /**
     * Add all the XY series provided by the specified source 
     * into this dataset.
     * 
     * @param source the dataset containing the series to be added
     */
    public synchronized void addAll(XYMultipleSeriesDataset source) {
        mSeries.addAll(source.mSeries);
    }

Original issue reported on code.google.com by schioche...@gmail.com on 28 Mar 2013 at 2:51

GoogleCodeExporter commented 9 years ago
duplicate https://code.google.com/p/achartengine/issues/detail?id=294 
(sorry, bad manipulation)

Original comment by schioche...@gmail.com on 28 Mar 2013 at 2:55

GoogleCodeExporter commented 9 years ago

Original comment by dandrome...@gmail.com on 3 Apr 2013 at 3:51