support changing renderer options like strokeWidth and add a test
[dygraphs.git] / tests / border.html
1 <html>
2 <head>
3 <title>gadget border</title>
4 <!--[if IE]>
5 <script type="text/javascript" src="excanvas.js"></script>
6 <![endif]-->
7 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
8 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
9 <script type="text/javascript" src="../dygraph-canvas.js"></script>
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 {
14 border: 1px solid red;
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">
22 new Dygraph(document.getElementById('bordered'), data,
23 {
24 labelsDivStyles: { border: '1px solid black' }
25 });
26 </script>
27 </body>
28 </html>