Fix broken tests when module is not defined
[dygraphs.git] / tests / border.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>gadget border</title>
5 <!--
6 For production (minified) code, use:
7 <script type="text/javascript" src="dygraph-combined.js"></script>
8 -->
9 <script type="text/javascript" src="../dygraph-dev.js"></script>
10
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 var g = new Dygraph(document.getElementById('bordered'), data,
23 {
24 labelsDivStyles: { border: '1px solid black' },
25 title: 'Chart Title',
26 xlabel: 'Date',
27 ylabel: 'Temperature (F)'
28 });
29 </script>
30 </body>
31 </html>