afreechart/src/main/java/org/afree/data/xy/XYIntervalSeriesCollection.java
/**
     * Removes a series from the collection and sends a
     * {@link DatasetChangeEvent} to all registered listeners.
     *
     * @param series  the series (<code>null</code> not permitted).
     *
     * @since JFreeChart 1.0.10
     */
Removes a series from the collection and sends a
DatasetChangeEvent to all registered listeners.

@param series  the series (null not permitted).


Removes a series from the collection and sends a DatasetChangeEvent to all registered listeners . @param series the series ( null not permitted ) .
public void removeSeries(XYIntervalSeries series) {
        if (series == null) {
            throw new IllegalArgumentException("Null 'series' argument.");
        }
        if (this.data.contains(series)) {
            series.removeChangeListener(this);
            this.data.remove(series);
            fireDatasetChanged();
        }
    }
public void removeSeries ( XYIntervalSeries series ) { if ( series == null ) { throw new IllegalArgumentException ( "Null 'series' argument." ) ; } if ( this . data . contains ( series ) ) { series . removeChangeListener ( this ) ; this . data . remove ( series ) ; fireDatasetChanged ( ) ; } }
Removes a series from the collection and sends a
 {@link DatasetChangeEvent} to all registered listeners.
Removes a series from the collection and sends a { @link DatasetChangeEvent } to all registered listeners .