From: Robert Konigsberg Date: Fri, 30 Nov 2012 14:19:56 +0000 (-0500) Subject: Remove maxAxis; it's not used. X-Git-Tag: v1.0.0~156^2~4 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=5a4768e50756ac737c6ca8ff5726d768681f4922;p=dygraphs.git Remove maxAxis; it's not used. --- diff --git a/dygraph-options.js b/dygraph-options.js index f734c5d..e18b726 100644 --- a/dygraph-options.js +++ b/dygraph-options.js @@ -157,15 +157,11 @@ DygraphOptions.prototype.reparseSeries = function() { } } } else { - var maxYAxis = 0; - for (var idx = 0; idx < this.labels.length; idx++) { var seriesName = this.labels[idx]; var optionsForSeries = this.user_.series[seriesName] || {}; var yAxis = DygraphOptions.axisToIndex_(optionsForSeries["axis"]); - maxYAxis = Math.max(yAxis, maxYAxis); - this.series_[seriesName] = { idx: idx, yAxis: yAxis,