add the magic <meta> tag for IE8+9
[dygraphs.git] / tests / spacing.html
CommitLineData
54425b14 1<!DOCTYPE html>
fd2a2ee2
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
fd2a2ee2
DV
5 <title>spacing</title>
6 <!--[if IE]>
a2b2c3a1 7 <script type="text/javascript" src="../excanvas.js"></script>
fd2a2ee2 8 <![endif]-->
d37dca40
DV
9 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
10 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
285a6bda 11 <script type="text/javascript" src="../dygraph-canvas.js"></script>
fd2a2ee2
DV
12 <script type="text/javascript" src="../dygraph.js"></script>
13 <script type="text/javascript" src="data.js"></script>
14 </head>
15 <body>
16 <p>Wide</p>
d16579a0 17 <div id="div_g" style="width:800px; height:300px;"></div>
fd2a2ee2
DV
18
19 <p>Narrow</p>
d16579a0 20 <div id="div_g2" style="width:300px; height:200px;"></div>
fd2a2ee2
DV
21
22 <script type="text/javascript">
285a6bda 23 g = new Dygraph(
d16579a0 24 document.getElementById("div_g"),
285a6bda 25 data, {
32988383 26 rollPeriod: 7,
5cb20998 27 pixelsPerYLabel: 20
fd2a2ee2
DV
28 }
29 );
285a6bda 30 g2 = new Dygraph(
d16579a0 31 document.getElementById("div_g2"),
285a6bda 32 data, {
fd2a2ee2 33 rollPeriod: 7,
5cb20998 34 pixelsPerYLabel: 20
fd2a2ee2
DV
35 }
36 );
37 </script>
38 </body>
39</html>