tweak defaults a bit
[dygraphs.git] / tests / zoom.html
index 483a1ce..65f23a4 100644 (file)
@@ -1,5 +1,7 @@
+<!DOCTYPE html>
 <html>
   <head>
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>zoom</title>
     <!--[if IE]>
     <script type="text/javascript" src="../excanvas.js"></script>
@@ -33,7 +35,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>