Added a second region for underlay-callback that helps clarify
[dygraphs.git] / tests / demo.html
index eddc009..c13c2ad 100644 (file)
@@ -2,9 +2,10 @@
   <head>
     <title>demo</title>
     <!--[if IE]>
-    <script type="text/javascript" src="excanvas.js"></script>
+    <script type="text/javascript" src="../excanvas.js"></script>
     <![endif]-->
-    <script type="text/javascript" src="../dygraph-combined.js"></script>
+    <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>
   </head>
@@ -18,7 +19,7 @@
     </td>
     </tr></table>
     <script type="text/javascript">
-      g = new DateGraph(
+      g = new Dygraph(
               document.getElementById("demodiv"),
               function() {
                 var zp = function(x) { if (x < 10) return "0"+x; else return x; };
@@ -44,8 +45,8 @@
                          "#00DD55",
                          "rgba(50,50,200,0.4)"],
                 padding: {left: 40, right: 30, top: 15, bottom: 15},
-                width:480,
-                height:320,
+                width: 480,
+                height: 320
               }
           );
     </script>