if(name in this.runs){ var run = this.series[this.runs[name]], plot = this.stack[this.plots[run.plot]], axis; run.data = data; run.dirty = true; // check to see if axes and plot should be updated if(plot.hAxis){ axis = this.axes[plot.hAxis]; if(axis.dependOnData()){ axis.dirty = true; // find all plots and mark them dirty dojo.forEach(this.stack, function(p){ if(p.hAxis && p.hAxis == plot.hAxis){ p.dirty = true; } }); } }else{ plot.dirty = true; } if(plot.vAxis){ axis = this.axes[plot.vAxis]; if(axis.dependOnData()){ axis.dirty = true; // find all plots and mark them dirty dojo.forEach(this.stack, function(p){ if(p.vAxis && p.vAxis == plot.vAxis){ p.dirty = true; } }); } }else{ plot.dirty = true; } } return this;