Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / missing-data.html
index 7edaf0f..1176101 100644 (file)
@@ -1,12 +1,14 @@
+<!DOCTYPE html>
 <html>
   <head>
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>missing data</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="../plotkit_v091/PlotKit/Layout.js"></script>
     <script type="text/javascript" src="../dygraph.js"></script>
   </head>
   <body>
@@ -21,7 +23,7 @@
     </table>
 
     <script type="text/javascript">
-    new Dygraph(
+    g = new Dygraph(
       document.getElementById("graph"),
       "Date,GapSeries1,GapSeries2\n" +
       "2009/12/01,10,10\n" +
@@ -33,7 +35,7 @@
       "2009/12/07,12,16\n"
     );
 
-    new Dygraph(
+    g2 = new Dygraph(
       document.getElementById("graph2"),
       [
         [ new Date("2009/12/01"), 10, 10],
         [ new Date("2009/12/06"), 18, 15],
         [ new Date("2009/12/07"), 12, 16]
       ],
-      { labels: ["Date","GapSeries1","GapSeries2"] }
+      {
+        labels: ["Date","GapSeries1","GapSeries2"],
+        showRoller: true
+      }
     );
 
-    new Dygraph(
+    g3 = new Dygraph(
       document.getElementById("graph3"),
       [
         [1, [10, 2], [20, 3]],
@@ -56,7 +61,7 @@
         [4, [null, 2], [20, 3]],
         [5, [null, 2], [null, 3]],
         [6, [ 9, 2], [20, 3]],
-        [7, [10, 2], [20, 3]],
+        [7, [10, 2], [20, 3]]
       ],
       {
         errorBars: true,
@@ -64,7 +69,7 @@
       }
     );
 
-    new Dygraph(
+    g4 = new Dygraph(
       document.getElementById("graph4"),
       [
         [1, [10, 2], [20, 3]],
@@ -73,7 +78,7 @@
         [4, [null, 2], [20, 3]],
         [5, [null, 2], [null, 3]],
         [6, [ 9, 2], [20, 3]],
-        [7, [10, 2], [20, 3]],
+        [7, [10, 2], [20, 3]]
       ],
       {
         errorBars: true,