| 1 | <html> |
| 2 | <head> |
| 3 | <title>noise</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="../dygraph-canvas.js"></script> |
| 9 | <script type="text/javascript" src="../dygraph.js"></script> |
| 10 | <script type="text/javascript" src="data.js"></script> |
| 11 | </head> |
| 12 | <body> |
| 13 | <p>7-day rollup:</p> |
| 14 | <div id="g" style="width:600px; height:300px;"></div> |
| 15 | <p>14-Day Rollup:</p> |
| 16 | <div id="g30" style="width:600px; height:300px;"></div> |
| 17 | |
| 18 | <script type="text/javascript"> |
| 19 | g = new Dygraph( |
| 20 | document.getElementById("g"), |
| 21 | NoisyData, { |
| 22 | rollPeriod: 7, |
| 23 | errorBars: true |
| 24 | } |
| 25 | ); |
| 26 | g30 = new Dygraph( |
| 27 | document.getElementById("g30"), |
| 28 | NoisyData().replace(/,/g, "\t"), { |
| 29 | rollPeriod: 14, |
| 30 | errorBars: true |
| 31 | } |
| 32 | ); |
| 33 | </script> |
| 34 | </body> |
| 35 | </html> |