Bug in panEdgeFraction -- release prior values so that you can unset the pan edge...
[dygraphs.git] / tests / zoom.html
index 483a1ce..6073a33 100644 (file)
@@ -33,7 +33,7 @@
       <br> <br>
       <input type="button" value="Unzoom" onclick="unzoomGraph()">&nbsp;
       <br> <br>
-      <input type="button" value="pan frame 0" onclick="panEdgeFraction(0)">&nbsp;
+      <input type="button" value="pan frame null" onclick="panEdgeFraction(null)">&nbsp;
       <input type="button" value="pan frame 0.1" onclick="panEdgeFraction(0.1)">&nbsp;
       <input type="button" value="pan frame 0.5" onclick="panEdgeFraction(0.5)">&nbsp;
       </p>