Commit | Line | Data |
---|---|---|
563c70ca AV |
1 | <html> |
2 | <head> | |
3 | <title>connect separated</title> | |
4 | <!--[if IE]> | |
5 | <script type="text/javascript" src="excanvas.js"></script> | |
6 | <![endif]--> | |
67b65269 DV |
7 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
8 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
563c70ca AV |
9 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
10 | <script type="text/javascript" src="../dygraph.js"></script> | |
11 | </head> | |
12 | <body> | |
13 | <p>Connecting separated points. All three of the series should have their points | |
14 | connected with lines, and hovering over them should produce dot and legend | |
15 | overlays in the proper color.</p> | |
67b65269 | 16 | |
563c70ca AV |
17 | <div id="graphdiv" style="width:600px; height:300px;"></div> |
18 | <script type="text/javascript"> | |
19 | new Dygraph(document.getElementById("graphdiv"), | |
20 | [ | |
21 | [ new Date("2009/12/01"), 10, 10, 10], | |
22 | [ new Date("2009/12/02"), 15, 11, 12], | |
23 | [ new Date("2009/12/03"), null, null, 12], | |
24 | [ new Date("2009/12/04"), 20, 14, null], | |
25 | [ new Date("2009/12/05"), 15, null, 17], | |
26 | [ new Date("2009/12/06"), 18, null, 16], | |
27 | [ new Date("2009/12/07"), 12, 14, 19] | |
28 | ], | |
29 | { | |
30 | connectSeparatedPoints: true, | |
31 | labels: ["Date","Series1","Series2","Series3"], | |
32 | }); | |
33 | </script> | |
34 | </body> | |
35 | </html> |