| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>isolated points</title> |
| 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 | |
| 11 | </head> |
| 12 | <body> |
| 13 | <div id="graph"></div> |
| 14 | <script type="text/javascript"> |
| 15 | var g = new Dygraph( |
| 16 | document.getElementById("graph"), |
| 17 | [ |
| 18 | [ 1, 10, 11], |
| 19 | [ 2, 15, null], |
| 20 | [ 3, null, null], |
| 21 | [ 4, 20, 13], |
| 22 | [ 5, null, 10], |
| 23 | [ 6, 18, null], |
| 24 | [ 7, 12, 16] |
| 25 | ], |
| 26 | { |
| 27 | labels: ["X", "S1", "S2" ], |
| 28 | series: { |
| 29 | S1: { |
| 30 | drawGapEdgePoints: true |
| 31 | } |
| 32 | }, |
| 33 | pointSize: 4, |
| 34 | showRoller: true |
| 35 | } |
| 36 | ); |
| 37 | </script> |
| 38 | </body> |
| 39 | </html> |