Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / draw-points.html
CommitLineData
54425b14 1<!DOCTYPE html>
9317362d
DV
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
9317362d
DV
5 <title>individual points</title>
6 <!--[if IE]>
a2b2c3a1 7 <script type="text/javascript" src="../excanvas.js"></script>
9317362d 8 <![endif]-->
d37dca40
DV
9 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
10 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
9317362d
DV
11 <script type="text/javascript" src="../dygraph-canvas.js"></script>
12 <script type="text/javascript" src="../dygraph.js"></script>
13 <script type="text/javascript" src="data.js"></script>
14 </head>
15 <body>
16 <p>with points:</p>
17 <div id="g" style="width:600px; height:300px;"></div>
18 <div id="g2" style="width:600px; height:300px;"></div>
19
20 <script type="text/javascript">
21 new Dygraph(
22 document.getElementById("g"),
23 NoisyData, {
24 rollPeriod: 7,
25 errorBars: true,
26 drawPoints: true
27 }
28 );
29
30 new Dygraph(
31 document.getElementById("g2"),
32 NoisyData, {
33 rollPeriod: 7,
34 errorBars: true,
35 drawPoints: false
36 }
37 );
38 </script>
39 </body>
40</html>