Make resetZoom consistent between x- and y-axes (#812)
[dygraphs.git] / tests / border.html
CommitLineData
54425b14 1<!DOCTYPE html>
22c9069e
DV
2<html>
3 <head>
93a5bb4c 4 <link rel="stylesheet" href="../css/dygraph.css">
22c9069e 5 <title>gadget border</title>
7e5ddc94
DV
6 <!--
7 For production (minified) code, use:
8 <script type="text/javascript" src="dygraph-combined.js"></script>
9 -->
fbd6834a 10 <script type="text/javascript" src="../dist/dygraph.js"></script>
7e5ddc94 11
22c9069e
DV
12 <script type="text/javascript" src="data.js"></script>
13 <style type="text/css">
14 #bordered {
8846615a 15 border: 1px solid red;
22c9069e 16 }
93a5bb4c
DV
17 .dygraph-legend {
18 border: 1px solid black;
19 }
22c9069e
DV
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">
f6fbf9e0 26 var g = new Dygraph(document.getElementById('bordered'), data,
8846615a 27 {
86cce9e8
DV
28 title: 'Chart Title',
29 xlabel: 'Date',
30 ylabel: 'Temperature (F)'
8846615a 31 });
22c9069e
DV
32 </script>
33 </body>
34</html>