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