Make dblclick event cancelable. (#840)
[dygraphs.git] / tests / resize.html
CommitLineData
54425b14 1<!DOCTYPE html>
5d2e822f
DV
2<html>
3 <head>
fd6b8dad 4 <link rel="stylesheet" href="../dist/dygraph.css">
5d2e822f 5 <title>resize the window</title>
fbd6834a 6 <script type="text/javascript" src="../dist/dygraph.js"></script>
7e5ddc94 7
5d2e822f 8 <script type="text/javascript" src="data.js"></script>
9da323b3 9 <style type="text/css">
4b4d1a63
DV
10 #div_g {
11 position: absolute;
12 left: 10px;
13 right: 10px;
14 top: 40px;
15 bottom: 10px;
9da323b3
DV
16 }
17 </style>
5d2e822f
DV
18 </head>
19 <body>
4b4d1a63
DV
20 <p>Resize the window. The dygraph will resize with it.</p>
21 <div id="div_g"></div>
5d2e822f
DV
22
23 <script type="text/javascript">
24 g = new Dygraph(
25 document.getElementById("div_g"),
26 NoisyData, {
27 rollPeriod: 7,
28 errorBars: true
29 }
30 );
5d2e822f
DV
31 </script>
32 </body>
33</html>