projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b0f69
)
support y-zooming and panning in synchronize demo
author
Dan Vanderkam
<danvdk@gmail.com>
Fri, 22 Oct 2010 02:53:06 +0000
(22:53 -0400)
committer
Dan Vanderkam
<danvdk@gmail.com>
Fri, 22 Oct 2010 02:53:06 +0000
(22:53 -0400)
tests/synchronize.html
patch
|
blob
|
blame
|
history
diff --git
a/tests/synchronize.html
b/tests/synchronize.html
index
3d9294d
..
143b8d1
100644
(file)
--- a/
tests/synchronize.html
+++ b/
tests/synchronize.html
@@
-40,9
+40,13
@@
if (blockRedraw || initial) return;
blockRedraw = true;
var range = me.xAxisRange();
+ var yrange = me.yAxisRange();
for (var j = 0; j < 4; j++) {
if (gs[j] == me) continue;
- gs[j].updateOptions( { dateWindow: range } );
+ gs[j].updateOptions( {
+ dateWindow: range,
+ valueRange: yrange
+ } );
}
blockRedraw = false;
}