| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9"> |
| 5 | <title>gadget border</title> |
| 6 | <!--[if IE]> |
| 7 | <script type="text/javascript" src="../excanvas.js"></script> |
| 8 | <![endif]--> |
| 9 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
| 10 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> |
| 11 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
| 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 { |
| 16 | border: 1px solid red; |
| 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"> |
| 24 | new Dygraph(document.getElementById('bordered'), data, |
| 25 | { |
| 26 | labelsDivStyles: { border: '1px solid black' } |
| 27 | }); |
| 28 | </script> |
| 29 | </body> |
| 30 | </html> |