From: Robert Konigsberg Date: Thu, 23 Dec 2010 00:01:33 +0000 (-0800) Subject: Rename unzoomGraph, remove commented-out code. X-Git-Tag: v1.0.0~584^2~14 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=b4012e637ac23308b6009098606e3603467aba9e;p=dygraphs.git Rename unzoomGraph, remove commented-out code. --- 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