Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
22c9069e DV |
2 | <html> |
3 | <head> | |
fd6b8dad | 4 | <link rel="stylesheet" href="../dist/dygraph.css"> |
22c9069e | 5 | <title>gadget border</title> |
fbd6834a | 6 | <script type="text/javascript" src="../dist/dygraph.js"></script> |
7e5ddc94 | 7 | |
22c9069e DV |
8 | <script type="text/javascript" src="data.js"></script> |
9 | <style type="text/css"> | |
10 | #bordered { | |
8846615a | 11 | border: 1px solid red; |
22c9069e | 12 | } |
93a5bb4c DV |
13 | .dygraph-legend { |
14 | border: 1px solid black; | |
15 | } | |
22c9069e DV |
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"> | |
f6fbf9e0 | 22 | var g = new Dygraph(document.getElementById('bordered'), data, |
8846615a | 23 | { |
86cce9e8 DV |
24 | title: 'Chart Title', |
25 | xlabel: 'Date', | |
26 | ylabel: 'Temperature (F)' | |
8846615a | 27 | }); |
22c9069e DV |
28 | </script> |
29 | </body> | |
30 | </html> |