From 03f8266b67b0795cc65cf8ce8ce2ae5617308714 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Thu, 21 Oct 2010 22:53:06 -0400 Subject: [PATCH] support y-zooming and panning in synchronize demo --- tests/synchronize.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.7.4