|
10 | 10 | "x": ["2001-01-01", "2001-02-01", "2001-03-01", "2001-04-01"],
|
11 | 11 | "xperiodalignment": "middle"
|
12 | 12 | },
|
| 13 | + { |
| 14 | + "xaxis": "x", |
| 15 | + "yaxis": "y", |
| 16 | + "xperiod": "M1", |
| 17 | + "name": "scatter (M1)", |
| 18 | + "type": "scatter", |
| 19 | + "y": [1, 2, 3, 4], |
| 20 | + "x": ["2001-01-01", "2001-02-01", "2001-03-01", "2001-04-01"], |
| 21 | + "xperiodalignment": "end" |
| 22 | + }, |
| 23 | + |
13 | 24 | {
|
14 | 25 | "xaxis": "x2",
|
15 | 26 | "yaxis": "y2",
|
|
20 | 31 | "x": ["2001-01-01", "2001-03-01", "2001-05-01", "2001-07-01"],
|
21 | 32 | "xperiodalignment": "middle"
|
22 | 33 | },
|
| 34 | + { |
| 35 | + "xaxis": "x2", |
| 36 | + "yaxis": "y2", |
| 37 | + "xperiod": "M2", |
| 38 | + "name": "scatter (M2)", |
| 39 | + "type": "scatter", |
| 40 | + "y": [1, 2, 3, 4], |
| 41 | + "x": ["2001-01-01", "2001-03-01", "2001-05-01", "2001-07-01"], |
| 42 | + "xperiodalignment": "end" |
| 43 | + }, |
23 | 44 |
|
24 | 45 | {
|
25 | 46 | "xaxis": "x3",
|
|
31 | 52 | "x": ["2001-01-01", "2001-04-01", "2001-07-01", "2001-10-01"],
|
32 | 53 | "xperiodalignment": "middle"
|
33 | 54 | },
|
| 55 | + { |
| 56 | + "xaxis": "x3", |
| 57 | + "yaxis": "y3", |
| 58 | + "xperiod": "M3", |
| 59 | + "name": "scatter (M3)", |
| 60 | + "type": "scatter", |
| 61 | + "y": [1, 2, 3, 4], |
| 62 | + "x": ["2001-01-01", "2001-04-01", "2001-07-01", "2001-10-01"], |
| 63 | + "xperiodalignment": "end" |
| 64 | + }, |
| 65 | + |
34 | 66 | {
|
35 | 67 | "xaxis": "x4",
|
36 | 68 | "yaxis": "y4",
|
|
41 | 73 | "x": ["2001-01-01", "2001-07-01", "2002-01-01", "2002-07-01"],
|
42 | 74 | "xperiodalignment": "middle"
|
43 | 75 | },
|
| 76 | + { |
| 77 | + "xaxis": "x4", |
| 78 | + "yaxis": "y4", |
| 79 | + "xperiod": "M6", |
| 80 | + "name": "scatter (M6)", |
| 81 | + "type": "scatter", |
| 82 | + "y": [1, 2, 3, 4], |
| 83 | + "x": ["2001-01-01", "2001-07-01", "2002-01-01", "2002-07-01"], |
| 84 | + "xperiodalignment": "end" |
| 85 | + }, |
| 86 | + |
44 | 87 | {
|
45 | 88 | "xaxis": "x5",
|
46 | 89 | "yaxis": "y5",
|
|
51 | 94 | "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"],
|
52 | 95 | "xperiodalignment": "middle"
|
53 | 96 | },
|
| 97 | + { |
| 98 | + "xaxis": "x5", |
| 99 | + "yaxis": "y5", |
| 100 | + "xperiod": "M12", |
| 101 | + "name": "scatter (M12)", |
| 102 | + "type": "scatter", |
| 103 | + "y": [1, 2, 3, 4], |
| 104 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 105 | + "xperiodalignment": "end" |
| 106 | + }, |
| 107 | + |
54 | 108 | {
|
55 | 109 | "xaxis": "x6",
|
56 | 110 | "yaxis": "y6",
|
|
60 | 114 | "y": [1, 2, 3, 4],
|
61 | 115 | "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"],
|
62 | 116 | "xperiodalignment": "middle"
|
| 117 | + }, |
| 118 | + { |
| 119 | + "xaxis": "x6", |
| 120 | + "yaxis": "y6", |
| 121 | + "xperiod": 31557600000, |
| 122 | + "name": "scatter (AVG-YEAR)", |
| 123 | + "type": "scatter", |
| 124 | + "y": [1, 2, 3, 4], |
| 125 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 126 | + "xperiodalignment": "end" |
63 | 127 | }
|
64 | 128 | ],
|
65 | 129 | "layout": {
|
|
0 commit comments