When possible, record the file/line number that logged an error/warning.
[dygraphs.git] / tests / spacing.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5 <title>spacing</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
9 <!--
10 For production (minified) code, use:
11 <script type="text/javascript" src="dygraph-combined.js"></script>
12 -->
13 <script type="text/javascript" src="../dygraph-dev.js"></script>
14
15 <script type="text/javascript" src="data.js"></script>
16 </head>
17 <body>
18 <p>Wide</p>
19 <div id="div_g" style="width:800px; height:300px;"></div>
20
21 <p>Narrow</p>
22 <div id="div_g2" style="width:300px; height:200px;"></div>
23
24 <script type="text/javascript">
25 g = new Dygraph(
26 document.getElementById("div_g"),
27 data, {
28 rollPeriod: 7,
29 pixelsPerYLabel: 20
30 }
31 );
32 g2 = new Dygraph(
33 document.getElementById("div_g2"),
34 data, {
35 rollPeriod: 7,
36 pixelsPerYLabel: 20
37 }
38 );
39 </script>
40 </body>
41 </html>