afreechart/src/main/java/org/afree/chart/renderer/xy/SamplingXYLineRenderer.java
/**
         * This method is called by the {@link XYPlot} at the start of each
         * series pass.  We reset the state for the current series.
         *
         * @param dataset  the dataset.
         * @param series  the series index.
         * @param firstItem  the first item index for this pass.
         * @param lastItem  the last item index for this pass.
         * @param pass  the current pass index.
         * @param passCount  the number of passes.
         */
This method is called by the  XYPlot at the start of each
series pass.  We reset the state for the current series.

@param dataset  the dataset.
@param series  the series index.
@param firstItem  the first item index for this pass.
@param lastItem  the last item index for this pass.
@param pass  the current pass index.
@param passCount  the number of passes.
This method is called by the XYPlot at the start of each series pass . We reset the state for the current series . @param dataset the dataset . @param series the series index . @param firstItem the first item index for this pass . @param lastItem the last item index for this pass . @param pass the current pass index . @param passCount the number of passes .
public void startSeriesPass(XYDataset dataset, int series,
                int firstItem, int lastItem, int pass, int passCount) {
            this.seriesPath.reset();
            this.lastPointGood = false;
            super.startSeriesPass(dataset, series, firstItem, lastItem, pass,
                    passCount);
        }
public void startSeriesPass ( XYDataset dataset , int series , int firstItem , int lastItem , int pass , int passCount ) { this . seriesPath . reset ( ) ; this . lastPointGood = false ; super . startSeriesPass ( dataset , series , firstItem , lastItem , pass , passCount ) ; }
This method is called by the {@link XYPlot} at the start of each
 series pass.
This method is called by the { @link XYPlot } at the start of each series pass .