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