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