add HTML5 doctype to all tests
[dygraphs.git] / tests / two-series.html
CommitLineData
54425b14 1<!DOCTYPE html>
4e265dc4
DV
2<html>
3 <head>
4 <title>two series</title>
5 <!--[if IE]>
a2b2c3a1 6 <script type="text/javascript" src="../excanvas.js"></script>
4e265dc4 7 <![endif]-->
d37dca40
DV
8 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
9 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
285a6bda 10 <script type="text/javascript" src="../dygraph-canvas.js"></script>
fd2a2ee2 11 <script type="text/javascript" src="../dygraph.js"></script>
4e265dc4
DV
12 <script type="text/javascript" src="data.js"></script>
13 </head>
14 <body>
15 <p>No rollup:</p>
d16579a0 16 <div id="div_g" style="width:600px; height:300px;"></div>
4e265dc4 17 <p>30-Day Rollup:</p>
d16579a0 18 <div id="div_g30" style="width:600px; height:300px;"></div>
4e265dc4
DV
19
20 <script type="text/javascript">
285a6bda 21 g = new Dygraph(
d16579a0 22 document.getElementById("div_g"),
285a6bda 23 data, {}
4e265dc4 24 );
285a6bda 25 g30 = new Dygraph(
d16579a0 26 document.getElementById("div_g30"),
285a6bda 27 data, {
4e265dc4
DV
28 rollPeriod: 30
29 }
30 );
31 </script>
32 </body>
33</html>