add HTML5 doctype to all tests
[dygraphs.git] / tests / spacing.html
CommitLineData
54425b14 1<!DOCTYPE html>
fd2a2ee2
DV
2<html>
3 <head>
4 <title>spacing</title>
5 <!--[if IE]>
a2b2c3a1 6 <script type="text/javascript" src="../excanvas.js"></script>
fd2a2ee2 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
DV
11 <script type="text/javascript" src="../dygraph.js"></script>
12 <script type="text/javascript" src="data.js"></script>
13 </head>
14 <body>
15 <p>Wide</p>
d16579a0 16 <div id="div_g" style="width:800px; height:300px;"></div>
fd2a2ee2
DV
17
18 <p>Narrow</p>
d16579a0 19 <div id="div_g2" style="width:300px; height:200px;"></div>
fd2a2ee2
DV
20
21 <script type="text/javascript">
285a6bda 22 g = new Dygraph(
d16579a0 23 document.getElementById("div_g"),
285a6bda 24 data, {
32988383 25 rollPeriod: 7,
5cb20998 26 pixelsPerYLabel: 20
fd2a2ee2
DV
27 }
28 );
285a6bda 29 g2 = new Dygraph(
d16579a0 30 document.getElementById("div_g2"),
285a6bda 31 data, {
fd2a2ee2 32 rollPeriod: 7,
5cb20998 33 pixelsPerYLabel: 20
fd2a2ee2
DV
34 }
35 );
36 </script>
37 </body>
38</html>