@Override public void datasetChanged(DatasetChangeEvent event){
  super.datasetChanged(event);
  if (this.subplots == null) {
    return;
  }
  XYDataset dataset=null;
  if (event.getDataset() instanceof XYDataset) {
    dataset=(XYDataset)event.getDataset();
  }
  for (  XYPlot subplot : this.subplots) {
    if (subplot.indexOf(dataset) >= 0) {
      subplot.configureRangeAxes();
    }
  }
}

@ Override public void datasetChanged ( DatasetChangeEvent event ) { super . datasetChanged ( event ) ; if ( this . subplots == null ) { return ; } XYDataset dataset = null ; if ( event . getDataset ( ) instanceof XYDataset ) { dataset = ( XYDataset ) event . getDataset ( ) ; } for ( XYPlot subplot : this . subplots ) { if ( subplot . indexOf ( dataset ) >= 0 ) { subplot . configureRangeAxes ( ) ; } } }
receives notification of a change to the plot ' s dataset . < p > the axis ranges are updated if necessary .
