Merge branch 'master' into chart-labels
[dygraphs.git] / tests / draw-points.html
... / ...
CommitLineData
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5 <title>individual points</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
9 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
10 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
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>