add HTML5 doctype to all tests
[dygraphs.git] / tests / noise.html
index 8c02ee2..e50bf9e 100644 (file)
@@ -1,10 +1,12 @@
+<!DOCTYPE html>
 <html>
   <head>
     <title>noise</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>
     <script type="text/javascript" src="data.js"></script>
             document.getElementById("div_g"),
             NoisyData, {
               rollPeriod: 7,
-              errorBars: true
+              errorBars: true,
+              legend: 'always'
             }
           );
       g30 = new Dygraph(
             document.getElementById("div_g30"),
             NoisyData().replace(/,/g, "\t"), {
               rollPeriod: 14,
-              errorBars: true
+              errorBars: true,
+              legend: 'always',
+              labelsDivStyles: {
+                'text-align': 'right',
+              },
+              labelsDivWidth: 170
             }
           );
     </script>