axis computation
[dygraphs.git] / tests / border.html
CommitLineData
22c9069e
DV
1<html>
2 <head>
3 <title>gadget border</title>
4 <!--[if IE]>
5 <script type="text/javascript" src="excanvas.js"></script>
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>