Commit | Line | Data |
---|---|---|
1ce3af6f DV |
1 | <html> |
2 | <head> | |
9a730910 | 3 | <title>missing data</title> |
1ce3af6f DV |
4 | <!--[if IE]> |
5 | <script type="text/javascript" src="excanvas.js"></script> | |
6 | <![endif]--> | |
7 | <script type="text/javascript" src="../dygraph-combined.js"></script> | |
8 | <script type="text/javascript" src="../dygraph-canvas.js"></script> | |
584ceeaa | 9 | <script type="text/javascript" src="../plotkit_v091/PlotKit/Layout.js"></script> |
1ce3af6f DV |
10 | <script type="text/javascript" src="../dygraph.js"></script> |
11 | </head> | |
12 | <body> | |
5011e7a1 DV |
13 | <table> |
14 | <tr><td valign=top> | |
1ce3af6f | 15 | <div id="graph"></div> |
584ceeaa | 16 | <div id="graph2"></div> |
5011e7a1 | 17 | </td><td valign=top> |
584ceeaa | 18 | <div id="graph3"></div> |
b7a294a8 | 19 | <div id="graph4"></div> |
5011e7a1 DV |
20 | </td></tr> |
21 | </table> | |
584ceeaa | 22 | |
1ce3af6f DV |
23 | <script type="text/javascript"> |
24 | new Dygraph( | |
25 | document.getElementById("graph"), | |
9a730910 DV |
26 | "Date,GapSeries1,GapSeries2\n" + |
27 | "2009/12/01,10,10\n" + | |
28 | "2009/12/02,15,11\n" + | |
29 | "2009/12/03,,12\n" + | |
30 | "2009/12/04,20,13\n" + | |
31 | "2009/12/05,15,\n" + | |
32 | "2009/12/06,18,15\n" + | |
33 | "2009/12/07,12,16\n" | |
1ce3af6f | 34 | ); |
584ceeaa DV |
35 | |
36 | new Dygraph( | |
37 | document.getElementById("graph2"), | |
38 | [ | |
39 | [ new Date("2009/12/01"), 10, 10], | |
40 | [ new Date("2009/12/02"), 15, 11], | |
41 | [ new Date("2009/12/03"), null, 12], | |
42 | [ new Date("2009/12/04"), 20, 13], | |
43 | [ new Date("2009/12/05"), 15, null], | |
44 | [ new Date("2009/12/06"), 18, 15], | |
45 | [ new Date("2009/12/07"), 12, 16] | |
46 | ], | |
47 | { labels: ["Date","GapSeries1","GapSeries2"] } | |
48 | ); | |
5011e7a1 DV |
49 | |
50 | new Dygraph( | |
51 | document.getElementById("graph3"), | |
52 | [ | |
53 | [1, [10, 2], [20, 3]], | |
bb441ec6 DV |
54 | [2, [12, 2], [20, 3]], |
55 | [3, [ 8, 2], [20, 3]], | |
56 | [4, [null, 2], [20, 3]], | |
57 | [5, [null, 2], [null, 3]], | |
58 | [6, [ 9, 2], [20, 3]], | |
59 | [7, [10, 2], [20, 3]], | |
5011e7a1 DV |
60 | ], |
61 | { | |
62 | errorBars: true, | |
63 | labels: [ "X", "Series1", "Series2" ] | |
64 | } | |
65 | ); | |
b7a294a8 DV |
66 | |
67 | new Dygraph( | |
68 | document.getElementById("graph4"), | |
69 | [ | |
70 | [1, [10, 2], [20, 3]], | |
bb441ec6 DV |
71 | [2, [12, 2], [20, 3]], |
72 | [3, [ 8, 2], [20, 3]], | |
73 | [4, [null, 2], [20, 3]], | |
74 | [5, [null, 2], [null, 3]], | |
75 | [6, [ 9, 2], [20, 3]], | |
76 | [7, [10, 2], [20, 3]], | |
b7a294a8 DV |
77 | ], |
78 | { | |
79 | errorBars: true, | |
80 | rollPeriod: 2, | |
81 | labels: [ "X", "Series1", "Series2" ] | |
82 | } | |
83 | ); | |
1ce3af6f DV |
84 | </script> |
85 | </body> | |
86 | </html> |