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]--> |
7e5ddc94 DV |
9 | <!-- |
10 | For production (minified) code, use: | |
11 | <script type="text/javascript" src="dygraph-combined.js"></script> | |
12 | --> | |
13 | <script type="text/javascript" src="../dygraph-dev.js"></script> | |
14 | ||
22c9069e DV |
15 | <script type="text/javascript" src="data.js"></script> |
16 | <style type="text/css"> | |
17 | #bordered { | |
8846615a | 18 | border: 1px solid red; |
22c9069e DV |
19 | } |
20 | </style> | |
21 | </head> | |
22 | <body> | |
23 | <p>Hopefully this stays in its border:</p> | |
24 | <div id="bordered" style="width:600px; height:300px;"></div> | |
25 | <script type="text/javascript"> | |
8846615a DV |
26 | new Dygraph(document.getElementById('bordered'), data, |
27 | { | |
86cce9e8 DV |
28 | labelsDivStyles: { border: '1px solid black' }, |
29 | title: 'Chart Title', | |
30 | xlabel: 'Date', | |
31 | ylabel: 'Temperature (F)' | |
8846615a | 32 | }); |
22c9069e DV |
33 | </script> |
34 | </body> | |
35 | </html> |