dygraph-utils.js: Make Dygraph.error and Dygraph.update public
[dygraphs.git] / tests / draw-points.html
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 <!--
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
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">
23 var g1 = new Dygraph(
24 document.getElementById("g"),
25 NoisyData, {
26 rollPeriod: 7,
27 errorBars: true,
28 drawPoints: true
29 }
30 );
31
32 var g2 = new Dygraph(
33 document.getElementById("g2"),
34 NoisyData, {
35 rollPeriod: 7,
36 errorBars: true,
37 drawPoints: false
38 }
39 );
40 </script>
41 </body>
42 </html>