Commit | Line | Data |
---|---|---|
22c9069e DV |
1 | <html> |
2 | <head> | |
3 | <title>gadget border</title> | |
4 | <!--[if IE]> | |
a2b2c3a1 | 5 | <script type="text/javascript" src="../excanvas.js"></script> |
22c9069e | 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> | |
285a6bda | 9 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
22c9069e DV |
10 | <script type="text/javascript" src="../dygraph.js"></script> |
11 | <script type="text/javascript" src="data.js"></script> | |
12 | <style type="text/css"> | |
13 | #bordered { | |
8846615a | 14 | border: 1px solid red; |
22c9069e DV |
15 | } |
16 | </style> | |
17 | </head> | |
18 | <body> | |
19 | <p>Hopefully this stays in its border:</p> | |
20 | <div id="bordered" style="width:600px; height:300px;"></div> | |
21 | <script type="text/javascript"> | |
8846615a DV |
22 | new Dygraph(document.getElementById('bordered'), data, |
23 | { | |
24 | labelsDivStyles: { border: '1px solid black' } | |
25 | }); | |
22c9069e DV |
26 | </script> |
27 | </body> | |
28 | </html> |