From: Dan Vanderkam Date: Tue, 27 Dec 2011 16:05:45 +0000 (-0500) Subject: one more small fix from Paul X-Git-Tag: v1.0.0~385 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;ds=sidebyside;h=0826981a43b5df44e5a425e2fce69f8714d351e4;p=dygraphs.git one more small fix from Paul --- diff --git a/dygraph-range-selector.js b/dygraph-range-selector.js index 2c55194..fe69864 100644 --- a/dygraph-range-selector.js +++ b/dygraph-range-selector.js @@ -477,7 +477,7 @@ DygraphRangeSelector.prototype.computeCombinedSeriesAndLimits_ = function() { if (mutipleValues) { sum = []; count = []; - for (k = 0; k < data[0][1].length; k++) { + for (k = 0; k < data[i][1].length; k++) { sum.push(0); count.push(0); }