projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clipping rectangles for interaction layer
[dygraphs.git]
/
tests
/
synchronize.html
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();
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;
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;
}
}
blockRedraw = false;
}