Reduce the width of testGridLinePattern from 480px to 120px, making the test run...
[dygraphs.git] / tests / is-zoomed.html
index 1b5db9f..4b9bb92 100644 (file)
@@ -5,10 +5,12 @@
     <!--[if IE]>
     <script type="text/javascript" src="../excanvas.js"></script>
     <![endif]-->
-    <script type="text/javascript" src="../strftime/strftime-min.js"></script>
-    <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
-    <script type="text/javascript" src="../dygraph-canvas.js"></script>
-    <script type="text/javascript" src="../dygraph.js"></script>
+    <!--
+    For production (minified) code, use:
+    <script type="text/javascript" src="dygraph-combined.js"></script>
+    -->
+    <script type="text/javascript" src="../dygraph-dev.js"></script>
+
     <script type="text/javascript" src="data.js"></script>
   </head>
   <body>
@@ -31,7 +33,7 @@
       <div class="codeoutput" style="float:left;">
       <div id="zoomdiv"></div>
       <script type="text/javascript">
-        new Dygraph(
+        var g = new Dygraph(
   
         // containing div
         document.getElementById("zoomdiv"),
@@ -88,7 +90,7 @@
 </pre>
     </p>
   
-    <p>The <a href="tests/zoom.html">Tests for zoom operations</a> show a full example of this in action.</p>
+    <p>The <a href="zoom.html">Tests for zoom operations</a> show a full example of this in action.</p>
   
     <h3>Programmatic Zoom</h3>
     <p>