Code comments and indentation fixes.
[dygraphs.git] / tests / resize.html
... / ...
CommitLineData
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5 <title>resize the window</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
9 <!--
10 For production (minified) code, use:
11 <script type="text/javascript" src="dygraph-combined.js"></script>
12 -->
13 <script type="text/javascript" src="../dygraph-dev.js"></script>
14
15 <script type="text/javascript" src="data.js"></script>
16 <style type="text/css">
17 #div_g {
18 position: absolute;
19 left: 10px;
20 right: 10px;
21 top: 40px;
22 bottom: 10px;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Resize the window. The dygraph will resize with it.</p>
28 <div id="div_g"></div>
29
30 <script type="text/javascript">
31 g = new Dygraph(
32 document.getElementById("div_g"),
33 NoisyData, {
34 rollPeriod: 7,
35 errorBars: true
36 }
37 );
38 </script>
39 </body>
40</html>