Commit | Line | Data |
---|---|---|
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> | |
8 | <script type="text/javascript" src="data.js"></script> | |
9 | </head> | |
10 | <body> | |
11 | <p>No rollup:</p> | |
12 | <div id="g" style="width:600px; height:300px;"></div> | |
13 | <p>30-Day Rollup:</p> | |
14 | <div id="g30" style="width:600px; height:300px;"></div> | |
15 | ||
16 | <script type="text/javascript"> | |
17 | g = new DateGraph( | |
18 | document.getElementById("g"), | |
19 | data, null, {} | |
20 | ); | |
21 | g30 = new DateGraph( | |
22 | document.getElementById("g30"), | |
23 | data, null, { | |
24 | rollPeriod: 30 | |
25 | } | |
26 | ); | |
27 | </script> | |
28 | </body> | |
29 | </html> |