From b4012e637ac23308b6009098606e3603467aba9e Mon Sep 17 00:00:00 2001 From: Robert Konigsberg Date: Wed, 22 Dec 2010 16:01:33 -0800 Subject: [PATCH 1/1] Rename unzoomGraph, remove commented-out code. --- tests/interaction.html | 2 +- tests/interaction.js | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/interaction.html b/tests/interaction.html index e6d103e..3d01ecd 100644 --- a/tests/interaction.html +++ b/tests/interaction.html @@ -26,7 +26,7 @@ Custom interaction model - +
Zoom in: double-click, scroll wheel
diff --git a/tests/interaction.js b/tests/interaction.js index 18bc366..ab5d5f5 100644 --- a/tests/interaction.js +++ b/tests/interaction.js @@ -110,10 +110,8 @@ return; } } - // drawV4(false, canvasx, canvasy); } } - // drawV4(false, canvasx, canvasy); } } @@ -124,7 +122,7 @@ } function dblClickV4(event, g, context) { - unzoomGraph(g4); + restorePositioning(g4); } function drawV4(x, y) { @@ -143,7 +141,7 @@ v4Canvas = canvas; } - function unzoomGraph(g) { + function restorePositioning(g) { g.updateOptions({ dateWindow: null, valueRange: null -- 2.7.4