Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
5d2e822f DV |
2 | <html> |
3 | <head> | |
4 | <title>resize the window</title> | |
5 | <!--[if IE]> | |
a2b2c3a1 | 6 | <script type="text/javascript" src="../excanvas.js"></script> |
5d2e822f | 7 | <![endif]--> |
d37dca40 DV |
8 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
9 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
5d2e822f DV |
10 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
11 | <script type="text/javascript" src="../dygraph.js"></script> | |
12 | <script type="text/javascript" src="data.js"></script> | |
13 | </head> | |
14 | <body> | |
c6f45033 | 15 | <div id="div_g" style="width:95%; height:95%"></div> |
5d2e822f DV |
16 | |
17 | <script type="text/javascript"> | |
18 | g = new Dygraph( | |
19 | document.getElementById("div_g"), | |
20 | NoisyData, { | |
21 | rollPeriod: 7, | |
22 | errorBars: true | |
23 | } | |
24 | ); | |
25 | ||
26 | window.onresize = function() { | |
27 | g.resize(); | |
28 | } | |
29 | </script> | |
30 | </body> | |
31 | </html> |