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