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