fix color-visibility test
[dygraphs.git] / tests / noise.html
CommitLineData
4e265dc4
DV
1<html>
2 <head>
3 <title>noise</title>
4 <!--[if IE]>
a2b2c3a1 5 <script type="text/javascript" src="../excanvas.js"></script>
4e265dc4 6 <![endif]-->
d37dca40
DV
7 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
8 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
285a6bda 9 <script type="text/javascript" src="../dygraph-canvas.js"></script>
2769de62 10 <script type="text/javascript" src="../dygraph.js"></script>
4e265dc4
DV
11 <script type="text/javascript" src="data.js"></script>
12 </head>
13 <body>
14 <p>7-day rollup:</p>
d16579a0 15 <div id="div_g" style="width:600px; height:300px;"></div>
4e265dc4 16 <p>14-Day Rollup:</p>
d16579a0 17 <div id="div_g30" style="width:600px; height:300px;"></div>
4e265dc4
DV
18
19 <script type="text/javascript">
285a6bda 20 g = new Dygraph(
d16579a0 21 document.getElementById("div_g"),
285a6bda 22 NoisyData, {
4e265dc4
DV
23 rollPeriod: 7,
24 errorBars: true
25 }
26 );
285a6bda 27 g30 = new Dygraph(
d16579a0 28 document.getElementById("div_g30"),
3d67f03b 29 NoisyData().replace(/,/g, "\t"), {
4e265dc4
DV
30 rollPeriod: 14,
31 errorBars: true
32 }
33 );
34 </script>
35 </body>
36</html>