Merge pull request #448 from danvk/range-selector-granularity
[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]-->
7e5ddc94
DV
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
fd2a2ee2
DV
15 <script type="text/javascript" src="data.js"></script>
16 </head>
17 <body>
18 <p>Wide</p>
d16579a0 19 <div id="div_g" style="width:800px; height:300px;"></div>
fd2a2ee2
DV
20
21 <p>Narrow</p>
d16579a0 22 <div id="div_g2" style="width:300px; height:200px;"></div>
fd2a2ee2
DV
23
24 <script type="text/javascript">
285a6bda 25 g = new Dygraph(
d16579a0 26 document.getElementById("div_g"),
285a6bda 27 data, {
32988383 28 rollPeriod: 7,
5cb20998 29 pixelsPerYLabel: 20
fd2a2ee2
DV
30 }
31 );
285a6bda 32 g2 = new Dygraph(
d16579a0 33 document.getElementById("div_g2"),
285a6bda 34 data, {
fd2a2ee2 35 rollPeriod: 7,
5cb20998 36 pixelsPerYLabel: 20
fd2a2ee2
DV
37 }
38 );
39 </script>
40 </body>
41</html>