add the magic <meta> tag for IE8+9
[dygraphs.git] / tests / daylight-savings.html
index 365a8b7..4fb88a1 100644 (file)
@@ -1,5 +1,7 @@
+<!DOCTYPE html>
 <html>
   <head>
+    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>Daylight Savings</title>
     <!--[if IE]>
     <script type="text/javascript" src="../excanvas.js"></script>
@@ -16,6 +18,9 @@
 
     <div id="demodiv"></div>
 
+    <p>The tick marks should all be on day boundaries or nice hours (6, 12, 18),
+    rather than on odd time boundaries like 5, 11, 17 and 23.</p>
+
     <script type="text/javascript">
       g = new Dygraph(
               document.getElementById("demodiv"),
@@ -24,7 +29,8 @@
 "2010-11-06 00:00:00,168571\n" +
 "2010-11-07 00:00:00,177796\n" +
 "2010-11-08 00:00:00,165587\n" +
-"2010-11-09 00:00:00,164380\n"
+"2010-11-09 00:00:00,164380\n",
+          { width: 1024 }
           );
     </script>
 </body>