Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / demo.html
index eddc009..2a2ea20 100644 (file)
@@ -1,10 +1,13 @@
+<!DOCTYPE html>
 <html>
   <head>
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <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 +21,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 +47,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>