projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61e06a
)
Remove maxAxis; it's not used.
author
Robert Konigsberg
<konigsberg@google.com>
Fri, 30 Nov 2012 14:19:56 +0000
(09:19 -0500)
committer
Robert Konigsberg
<konigsberg@google.com>
Fri, 30 Nov 2012 14:19:56 +0000
(09:19 -0500)
dygraph-options.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph-options.js
b/dygraph-options.js
index
f734c5d
..
e18b726
100644
(file)
--- 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,