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