fix gviz-numeric test
[dygraphs.git] / tests / draw-points.html
CommitLineData
9317362d
DV
1<html>
2 <head>
3 <title>individual points</title>
4 <!--[if IE]>
a2b2c3a1 5 <script type="text/javascript" src="../excanvas.js"></script>
9317362d 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>
9317362d
DV
9 <script type="text/javascript" src="../dygraph-canvas.js"></script>
10 <script type="text/javascript" src="../dygraph.js"></script>
11 <script type="text/javascript" src="data.js"></script>
12 </head>
13 <body>
14 <p>with points:</p>
15 <div id="g" style="width:600px; height:300px;"></div>
16 <div id="g2" style="width:600px; height:300px;"></div>
17
18 <script type="text/javascript">
19 new Dygraph(
20 document.getElementById("g"),
21 NoisyData, {
22 rollPeriod: 7,
23 errorBars: true,
24 drawPoints: true
25 }
26 );
27
28 new Dygraph(
29 document.getElementById("g2"),
30 NoisyData, {
31 rollPeriod: 7,
32 errorBars: true,
33 drawPoints: false
34 }
35 );
36 </script>
37 </body>
38</html>