actually draw the graph
[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>
285a6bda 8 <script type="text/javascript" src="../dygraph-canvas.js"></script>
fd2a2ee2 9 <script type="text/javascript" src="../dygraph.js"></script>
4e265dc4
DV
10 <script type="text/javascript" src="data.js"></script>
11 </head>
12 <body>
13 <p>No rollup:</p>
d16579a0 14 <div id="div_g" style="width:600px; height:300px;"></div>
4e265dc4 15 <p>30-Day Rollup:</p>
d16579a0 16 <div id="div_g30" style="width:600px; height:300px;"></div>
4e265dc4
DV
17
18 <script type="text/javascript">
285a6bda 19 g = new Dygraph(
d16579a0 20 document.getElementById("div_g"),
285a6bda 21 data, {}
4e265dc4 22 );
285a6bda 23 g30 = new Dygraph(
d16579a0 24 document.getElementById("div_g30"),
285a6bda 25 data, {
4e265dc4
DV
26 rollPeriod: 30
27 }
28 );
29 </script>
30 </body>
31</html>