githubbub / achartengine

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

Patch: bulk methods in XYMultipleSeriesDataset #294

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For efficiency of multiple add or remove operations, I suggest to add two 
methods in XYMultipleSeriesDataset.

Here is the patch:

        /**
     * 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:53

GoogleCodeExporter commented 9 years ago
Issue 293 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago

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