Commit | Line | Data |
---|---|---|
54425b14 | 1 | <!DOCTYPE html> |
9317362d DV |
2 | <html> |
3 | <head> | |
4 | <title>individual points</title> | |
7e5ddc94 DV |
5 | <!-- |
6 | For production (minified) code, use: | |
7 | <script type="text/javascript" src="dygraph-combined.js"></script> | |
8 | --> | |
9 | <script type="text/javascript" src="../dygraph-dev.js"></script> | |
10 | ||
9317362d DV |
11 | <script type="text/javascript" src="data.js"></script> |
12 | </head> | |
13 | <body> | |
14 | <p>with points:</p> | |
15 | <div id="g" style="width:600px; height:300px;"></div> | |
16 | <div id="g2" style="width:600px; height:300px;"></div> | |
17 | ||
18 | <script type="text/javascript"> | |
f6fbf9e0 | 19 | var g1 = new Dygraph( |
9317362d DV |
20 | document.getElementById("g"), |
21 | NoisyData, { | |
22 | rollPeriod: 7, | |
23 | errorBars: true, | |
24 | drawPoints: true | |
25 | } | |
26 | ); | |
27 | ||
f6fbf9e0 | 28 | var g2 = new Dygraph( |
9317362d DV |
29 | document.getElementById("g2"), |
30 | NoisyData, { | |
31 | rollPeriod: 7, | |
32 | errorBars: true, | |
33 | drawPoints: false | |
34 | } | |
35 | ); | |
36 | </script> | |
37 | </body> | |
38 | </html> |