projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f09fc54
)
fix copy/paste error
author
Dan Vanderkam
<danvdk@gmail.com>
Thu, 30 Sep 2010 14:56:09 +0000
(10:56 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Thu, 30 Sep 2010 14:56:09 +0000
(10:56 -0400)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
521f2d7
..
a7fe70a
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-1830,7
+1830,7
@@
Dygraph.prototype.computeYaxes_ = function(extremes) {
var maxY = -Infinity; // extremes[series[0]][1];
for (var j = 0; j < series.length; j++) {
minY = Math.min(extremes[series[j]][0], minY);
- maxY = Math.max(extremes[series[j]][
0
], maxY);
+ maxY = Math.max(extremes[series[j]][
1
], maxY);
}
if (axis.includeZero && minY > 0) minY = 0;