Commit | Line | Data |
---|---|---|
4e265dc4 DV |
1 | <html> |
2 | <head> | |
3 | <title>two series</title> | |
4 | <!--[if IE]> | |
a2b2c3a1 | 5 | <script type="text/javascript" src="../excanvas.js"></script> |
4e265dc4 | 6 | <![endif]--> |
d37dca40 DV |
7 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
8 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
285a6bda | 9 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
fd2a2ee2 | 10 | <script type="text/javascript" src="../dygraph.js"></script> |
4e265dc4 DV |
11 | <script type="text/javascript" src="data.js"></script> |
12 | </head> | |
13 | <body> | |
14 | <p>No rollup:</p> | |
d16579a0 | 15 | <div id="div_g" style="width:600px; height:300px;"></div> |
4e265dc4 | 16 | <p>30-Day Rollup:</p> |
d16579a0 | 17 | <div id="div_g30" style="width:600px; height:300px;"></div> |
4e265dc4 DV |
18 | |
19 | <script type="text/javascript"> | |
285a6bda | 20 | g = new Dygraph( |
d16579a0 | 21 | document.getElementById("div_g"), |
285a6bda | 22 | data, {} |
4e265dc4 | 23 | ); |
285a6bda | 24 | g30 = new Dygraph( |
d16579a0 | 25 | document.getElementById("div_g30"), |
285a6bda | 26 | data, { |
4e265dc4 DV |
27 | rollPeriod: 30 |
28 | } | |
29 | ); | |
30 | </script> | |
31 | </body> | |
32 | </html> |