Merge branch 'master' of git://github.com/danvk/dygraphs
[dygraphs.git] / tests / zoom.html
index 24a2828..1f5cac9 100644 (file)
@@ -12,7 +12,8 @@
   </head>
   <body>
     <h3>Click the buttons to change the zoom level or just use the normal
-    click-and drag.</h3>
+    click-and drag. While zoom typically works by click-and-drag, the
+    butons are useful for testing.</h3>
     <h4>Window coordinates (in dates and values):</h4>
     <div id = "dimensions"></div>
     <div id="div_g" style="width:600px; height:300px;"></div>
@@ -38,7 +39,7 @@
       g = new Dygraph(
             document.getElementById("div_g"),
             NoisyData, {
-              zoomCallback : function(a,b,c,d) { showDimensions(a,b,c,d); }
+              zoomCallback : function(a,b,c,d) { showDimensions(a,b,c,d); },
             }
           );