Remove dead code (#818)
[dygraphs.git] / tests / spacing.html
CommitLineData
54425b14 1<!DOCTYPE html>
fd2a2ee2
DV
2<html>
3 <head>
fd6b8dad 4 <link rel="stylesheet" href="../dist/dygraph.css">
fd2a2ee2 5 <title>spacing</title>
fbd6834a 6 <script type="text/javascript" src="../dist/dygraph.js"></script>
7e5ddc94 7
fd2a2ee2
DV
8 <script type="text/javascript" src="data.js"></script>
9 </head>
10 <body>
11 <p>Wide</p>
d16579a0 12 <div id="div_g" style="width:800px; height:300px;"></div>
fd2a2ee2
DV
13
14 <p>Narrow</p>
d16579a0 15 <div id="div_g2" style="width:300px; height:200px;"></div>
fd2a2ee2
DV
16
17 <script type="text/javascript">
285a6bda 18 g = new Dygraph(
d16579a0 19 document.getElementById("div_g"),
285a6bda 20 data, {
32988383 21 rollPeriod: 7,
2b66af4f
DV
22 axes: {
23 y: {
24 pixelsPerLabel: 20
25 }
26 }
fd2a2ee2
DV
27 }
28 );
285a6bda 29 g2 = new Dygraph(
d16579a0 30 document.getElementById("div_g2"),
285a6bda 31 data, {
fd2a2ee2 32 rollPeriod: 7,
2b66af4f
DV
33 axes: {
34 y: {
35 pixelsPerLabel: 20
36 }
37 }
fd2a2ee2
DV
38 }
39 );
40 </script>
41 </body>
42</html>