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

@param series  the series (null not permitted).
Adds a series to the collection and sends a DatasetChangeEvent to all registered listeners . @param series the series ( null not permitted ) .
public void addSeries(YIntervalSeries series) {
        if (series == null) {
            throw new IllegalArgumentException("Null 'series' argument.");
        }
        this.data.add(series);
        series.addChangeListener(this);
        fireDatasetChanged();
    }
public void addSeries ( YIntervalSeries series ) { if ( series == null ) { throw new IllegalArgumentException ( "Null 'series' argument." ) ; } this . data . add ( series ) ; series . addChangeListener ( this ) ; fireDatasetChanged ( ) ; }
Adds a series to the collection and sends a {@link DatasetChangeEvent}
 to all registered listeners.
Adds a series to the collection and sends a { @link DatasetChangeEvent } to all registered listeners .