public void updatedataset(IScope scope, int chartCycle) { // TODO Auto-generated method stub commonXindex++; commonYindex++; if (didReload(scope, chartCycle)) { BackwardSim(scope, chartCycle); } updateXValues(scope, chartCycle); updateYValues(scope, chartCycle); if (commonXindex >= this.getXSeriesValues().size()) commonXindex = this.getXSeriesValues().size() - 1; if (commonYindex >= this.getYSeriesValues().size()) commonYindex = this.getYSeriesValues().size() - 1; for (ChartDataSource source : sources) { source.updatevalues(scope, chartCycle); source.savehistory(scope, history); } history.append(Strings.LN); }