Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
22c9069e DV |
2 | <html> |
3 | <head> | |
10494b48 | 4 | <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9"> |
22c9069e DV |
5 | <title>gadget border</title> |
6 | <!--[if IE]> | |
a2b2c3a1 | 7 | <script type="text/javascript" src="../excanvas.js"></script> |
22c9069e | 8 | <![endif]--> |
d37dca40 DV |
9 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
10 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
285a6bda | 11 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
22c9069e DV |
12 | <script type="text/javascript" src="../dygraph.js"></script> |
13 | <script type="text/javascript" src="data.js"></script> | |
14 | <style type="text/css"> | |
15 | #bordered { | |
8846615a | 16 | border: 1px solid red; |
22c9069e DV |
17 | } |
18 | </style> | |
19 | </head> | |
20 | <body> | |
21 | <p>Hopefully this stays in its border:</p> | |
22 | <div id="bordered" style="width:600px; height:300px;"></div> | |
23 | <script type="text/javascript"> | |
8846615a DV |
24 | new Dygraph(document.getElementById('bordered'), data, |
25 | { | |
86cce9e8 DV |
26 | labelsDivStyles: { border: '1px solid black' }, |
27 | title: 'Chart Title', | |
28 | xlabel: 'Date', | |
29 | ylabel: 'Temperature (F)' | |
8846615a | 30 | }); |
22c9069e DV |
31 | </script> |
32 | </body> | |
33 | </html> |