3918e0ea8e6437ad7e7881b0f920784af7fd2ba6
[dygraphs.git] / tests / noise.html
1 <html>
2 <head>
3 <title>noise</title>
4 <!--[if IE]>
5 <script type="text/javascript" src="excanvas.js"></script>
6 <![endif]-->
7 <script type="text/javascript" src="../dygraph-combined.js"></script>
8 <script type="text/javascript" src="data.js"></script>
9 </head>
10 <body>
11 <p>7-day rollup:</p>
12 <div id="g" style="width:600px; height:300px;"></div>
13 <p>14-Day Rollup:</p>
14 <div id="g30" style="width:600px; height:300px;"></div>
15
16 <script type="text/javascript">
17 g = new DateGraph(
18 document.getElementById("g"),
19 NoisyData, null, {
20 rollPeriod: 7,
21 errorBars: true
22 }
23 );
24 g30 = new DateGraph(
25 document.getElementById("g30"),
26 NoisyData, null, {
27 rollPeriod: 14,
28 errorBars: true
29 }
30 );
31 </script>
32 </body>
33 </html>