X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-layout.js;h=c870d3bf797c8f5f83bb6fbb39de407fb3924392;hb=4b4d1a63e7e4723419f540bf8265c609783bc0fd;hp=4beddc489fba1be624a744cfda69236d1c216a37;hpb=b477300e0a777d48c86618ec0db38ac834ac3249;p=dygraphs.git diff --git a/dygraph-layout.js b/dygraph-layout.js index 4beddc4..c870d3b 100644 --- a/dygraph-layout.js +++ b/dygraph-layout.js @@ -131,7 +131,8 @@ DygraphLayout.prototype._evaluateLineCharts = function() { this.points = new Array(); // An array to keep track of how many points will be drawn for each set. // This will allow for the canvas renderer to not have to check every point - // for every data set since the points are added in order of the sets in datasets + // for every data set since the points are added in order of the sets in + // datasets. this.setPointsLengths = new Array(); for (var setName in this.datasets) { @@ -186,7 +187,7 @@ DygraphLayout.prototype._evaluateLineCharts = function() { name: setName }; this.points.push(point); - setPointsLength += 1; + setPointsLength += 1; } prevXPx = currXPx; prevYPx = currYPx;