Add auto test for isolated and gap points.
[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]-->
7e5ddc94
DV
9 <!--
10 For production (minified) code, use:
11 <script type="text/javascript" src="dygraph-combined.js"></script>
12 -->
13 <script type="text/javascript" src="../dygraph-dev.js"></script>
14
9317362d
DV
15 <script type="text/javascript" src="data.js"></script>
16 </head>
17 <body>
18 <p>with points:</p>
19 <div id="g" style="width:600px; height:300px;"></div>
20 <div id="g2" style="width:600px; height:300px;"></div>
21
22 <script type="text/javascript">
f6fbf9e0 23 var g1 = new Dygraph(
9317362d
DV
24 document.getElementById("g"),
25 NoisyData, {
26 rollPeriod: 7,
27 errorBars: true,
28 drawPoints: true
29 }
30 );
31
f6fbf9e0 32 var g2 = new Dygraph(
9317362d
DV
33 document.getElementById("g2"),
34 NoisyData, {
35 rollPeriod: 7,
36 errorBars: true,
37 drawPoints: false
38 }
39 );
40 </script>
41 </body>
42</html>