Bug fix for dygraph point selection touch event.
[dygraphs.git] / tests / draw-points.html
CommitLineData
54425b14 1<!DOCTYPE html>
9317362d
DV
2<html>
3 <head>
fd6b8dad 4 <link rel="stylesheet" href="../dist/dygraph.css">
9317362d 5 <title>individual points</title>
fbd6834a 6 <script type="text/javascript" src="../dist/dygraph.js"></script>
7e5ddc94 7
9317362d
DV
8 <script type="text/javascript" src="data.js"></script>
9 </head>
10 <body>
11 <p>with points:</p>
12 <div id="g" style="width:600px; height:300px;"></div>
13 <div id="g2" style="width:600px; height:300px;"></div>
14
15 <script type="text/javascript">
f6fbf9e0 16 var g1 = new Dygraph(
9317362d
DV
17 document.getElementById("g"),
18 NoisyData, {
19 rollPeriod: 7,
20 errorBars: true,
21 drawPoints: true
22 }
23 );
24
f6fbf9e0 25 var g2 = new Dygraph(
9317362d
DV
26 document.getElementById("g2"),
27 NoisyData, {
28 rollPeriod: 7,
29 errorBars: true,
30 drawPoints: false
31 }
32 );
33 </script>
34 </body>
35</html>