Add axis_labels tests that rely on the preferred style of formatting axes.
[dygraphs.git] / tests / resize.html
CommitLineData
54425b14 1<!DOCTYPE html>
5d2e822f
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5d2e822f
DV
5 <title>resize the window</title>
6 <!--[if IE]>
a2b2c3a1 7 <script type="text/javascript" src="../excanvas.js"></script>
5d2e822f 8 <![endif]-->
7e5ddc94
DV
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
5d2e822f 15 <script type="text/javascript" src="data.js"></script>
9da323b3 16 <style type="text/css">
4b4d1a63
DV
17 #div_g {
18 position: absolute;
19 left: 10px;
20 right: 10px;
21 top: 40px;
22 bottom: 10px;
9da323b3
DV
23 }
24 </style>
5d2e822f
DV
25 </head>
26 <body>
4b4d1a63
DV
27 <p>Resize the window. The dygraph will resize with it.</p>
28 <div id="div_g"></div>
5d2e822f
DV
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 );
5d2e822f
DV
38 </script>
39 </body>
40</html>