| 1 | <html> |
| 2 | <head> |
| 3 | <title>individual points</title> |
| 4 | <!--[if IE]> |
| 5 | <script type="text/javascript" src="excanvas.js"></script> |
| 6 | <![endif]--> |
| 7 | <script type="text/javascript" src="../dygraph-combined.js"></script> |
| 8 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
| 9 | <script type="text/javascript" src="../dygraph.js"></script> |
| 10 | <script type="text/javascript" src="data.js"></script> |
| 11 | </head> |
| 12 | <body> |
| 13 | <p>with points:</p> |
| 14 | <div id="g" style="width:600px; height:300px;"></div> |
| 15 | <div id="g2" style="width:600px; height:300px;"></div> |
| 16 | |
| 17 | <script type="text/javascript"> |
| 18 | new Dygraph( |
| 19 | document.getElementById("g"), |
| 20 | NoisyData, { |
| 21 | rollPeriod: 7, |
| 22 | errorBars: true, |
| 23 | drawPoints: true |
| 24 | } |
| 25 | ); |
| 26 | |
| 27 | new Dygraph( |
| 28 | document.getElementById("g2"), |
| 29 | NoisyData, { |
| 30 | rollPeriod: 7, |
| 31 | errorBars: true, |
| 32 | drawPoints: false |
| 33 | } |
| 34 | ); |
| 35 | </script> |
| 36 | </body> |
| 37 | </html> |