add spacing test
[dygraphs.git] / tests / two-series.html
CommitLineData
4e265dc4
DV
1<html>
2 <head>
3 <title>two series</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>
fd2a2ee2 8 <script type="text/javascript" src="../dygraph.js"></script>
4e265dc4
DV
9 <script type="text/javascript" src="data.js"></script>
10 </head>
11 <body>
12 <p>No rollup:</p>
13 <div id="g" style="width:600px; height:300px;"></div>
14 <p>30-Day Rollup:</p>
15 <div id="g30" style="width:600px; height:300px;"></div>
16
17 <script type="text/javascript">
18 g = new DateGraph(
19 document.getElementById("g"),
20 data, null, {}
21 );
22 g30 = new DateGraph(
23 document.getElementById("g30"),
24 data, null, {
25 rollPeriod: 30
26 }
27 );
28 </script>
29 </body>
30</html>