From: Dan Vanderkam Date: Fri, 22 Oct 2010 02:53:06 +0000 (-0400) Subject: support y-zooming and panning in synchronize demo X-Git-Tag: v1.0.0~622^2~3 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=03f8266b67b0795cc65cf8ce8ce2ae5617308714;p=dygraphs.git support y-zooming and panning in synchronize demo --- diff --git a/tests/synchronize.html b/tests/synchronize.html index 3d9294d..143b8d1 100644 --- 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; }