afreechart/src/main/java/org/afree/chart/plot/XYPlot.java
/**
     * Receives notification of a change to the plot's dataset.
     * <P>
     * The axis ranges are updated if necessary.
     * 
     * @param event
     *            information about the event (not used here).
     */
Receives notification of a change to the plot's dataset.

The axis ranges are updated if necessary.

@param event
information about the event (not used here).
Receives notification of a change to the plot ' s dataset . The axis ranges are updated if necessary . @param event information about the event ( not used here ) .
public void datasetChanged(DatasetChangeEvent event) {
         configureDomainAxes();
         configureRangeAxes();
         if (getParent() != null) {
             getParent().datasetChanged(event);
         } else {
             PlotChangeEvent e = new PlotChangeEvent(this);
             e.setType(ChartChangeEventType.DATASET_UPDATED);
             notifyListeners(e);
         }
     }
public void datasetChanged ( DatasetChangeEvent event ) { configureDomainAxes ( ) ; configureRangeAxes ( ) ; if ( getParent ( ) != null ) { getParent ( ) . datasetChanged ( event ) ; } else { PlotChangeEvent e = new PlotChangeEvent ( this ) ; e . setType ( ChartChangeEventType . DATASET_UPDATED ) ; notifyListeners ( e ) ; } }
Receives notification of a change to the plot's dataset.
Receives notification of a change to the plot ' s dataset .