|
| 1 | +{ |
| 2 | + "data": [ |
| 3 | + { |
| 4 | + "xaxis": "x", |
| 5 | + "yaxis": "y", |
| 6 | + "name": "bar (v)", |
| 7 | + "type": "bar", |
| 8 | + "y": [1, 2, 3, 4], |
| 9 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 10 | + "xperiodalignment": "middle" |
| 11 | + }, |
| 12 | + { |
| 13 | + "xaxis": "x", |
| 14 | + "yaxis": "y", |
| 15 | + "name": "scatter", |
| 16 | + "type": "scatter", |
| 17 | + "y": [1, 2, 3, 4], |
| 18 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 19 | + "xperiodalignment": "middle" |
| 20 | + }, |
| 21 | + |
| 22 | + { |
| 23 | + "xaxis": "x2", |
| 24 | + "yaxis": "y2", |
| 25 | + "name": "bar (h)", |
| 26 | + "type": "bar", |
| 27 | + "orientation": "h", |
| 28 | + "x": [1, 2, 3, 4], |
| 29 | + "y": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 30 | + "yperiodalignment": "middle" |
| 31 | + }, |
| 32 | + { |
| 33 | + "xaxis": "x2", |
| 34 | + "yaxis": "y2", |
| 35 | + "name": "scatter2", |
| 36 | + "type": "scatter", |
| 37 | + "x": [1, 2, 3, 4], |
| 38 | + "y": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 39 | + "yperiodalignment": "middle" |
| 40 | + }, |
| 41 | + |
| 42 | + { |
| 43 | + "xaxis": "x3", |
| 44 | + "yaxis": "y3", |
| 45 | + "name": "waterfall", |
| 46 | + "type": "waterfall", |
| 47 | + "y": [4, -3, 2, -1], |
| 48 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 49 | + "xperiodalignment": "middle" |
| 50 | + }, |
| 51 | + { |
| 52 | + "xaxis": "x4", |
| 53 | + "yaxis": "y4", |
| 54 | + "name": "funnel", |
| 55 | + "type": "funnel", |
| 56 | + "x": [4, 3, 2, 1], |
| 57 | + "y": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 58 | + "yperiodalignment": "middle" |
| 59 | + }, |
| 60 | + |
| 61 | + { |
| 62 | + "xaxis": "x5", |
| 63 | + "yaxis": "y5", |
| 64 | + "name": "heatmap", |
| 65 | + "type": "heatmap", |
| 66 | + "zsmooth": "best", |
| 67 | + "showscale": false, |
| 68 | + "showlegend": true, |
| 69 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 70 | + "y": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 71 | + "z": [ |
| 72 | + [0, 1, 0, 1], |
| 73 | + [1, 0, 1, 0], |
| 74 | + [0, 1, 0, 1], |
| 75 | + [1, 0, 1, 0] |
| 76 | + ], |
| 77 | + "xperiodalignment": "middle", |
| 78 | + "yperiodalignment": "middle" |
| 79 | + }, |
| 80 | + |
| 81 | + { |
| 82 | + "xaxis": "x6", |
| 83 | + "yaxis": "y6", |
| 84 | + "name": "contour", |
| 85 | + "type": "contour", |
| 86 | + "colorscale": "Portland", |
| 87 | + "showscale": false, |
| 88 | + "showlegend": true, |
| 89 | + "x": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 90 | + "y": ["2001-01-01", "2002-01-01", "2003-01-01", "2004-01-01"], |
| 91 | + "z": [ |
| 92 | + [0, 1, 0, 1], |
| 93 | + [1, 0, 1, 0], |
| 94 | + [0, 1, 0, 1], |
| 95 | + [1, 0, 1, 0] |
| 96 | + ], |
| 97 | + "xperiodalignment": "middle", |
| 98 | + "yperiodalignment": "middle" |
| 99 | + } |
| 100 | + ], |
| 101 | + "layout": { |
| 102 | + "width": 1000, |
| 103 | + "height": 500, |
| 104 | + "showlegend": true, |
| 105 | + "hovermode": "closest", |
| 106 | + |
| 107 | + "xaxis": { |
| 108 | + "ticklabelmode": "period", |
| 109 | + "tickcolor": "black", |
| 110 | + "domain": [ |
| 111 | + 0, |
| 112 | + 0.3 |
| 113 | + ] |
| 114 | + }, |
| 115 | + "xaxis2": { |
| 116 | + "tickcolor": "black", |
| 117 | + "anchor": "y2", |
| 118 | + "domain": [ |
| 119 | + 0, |
| 120 | + 0.3 |
| 121 | + ] |
| 122 | + }, |
| 123 | + "xaxis3": { |
| 124 | + "ticklabelmode": "period", |
| 125 | + "tickcolor": "black", |
| 126 | + "anchor": "y3", |
| 127 | + "domain": [ |
| 128 | + 0.35, |
| 129 | + 0.65 |
| 130 | + ] |
| 131 | + }, |
| 132 | + "xaxis4": { |
| 133 | + "anchor": "y4", |
| 134 | + "domain": [ |
| 135 | + 0.35, |
| 136 | + 0.65 |
| 137 | + ] |
| 138 | + }, |
| 139 | + "xaxis5": { |
| 140 | + "ticklabelmode": "period", |
| 141 | + "tickcolor": "black", |
| 142 | + "anchor": "y5", |
| 143 | + "domain": [ |
| 144 | + 0.7, |
| 145 | + 1 |
| 146 | + ] |
| 147 | + }, |
| 148 | + "xaxis6": { |
| 149 | + "ticklabelmode": "period", |
| 150 | + "tickcolor": "black", |
| 151 | + "anchor": "y6", |
| 152 | + "domain": [ |
| 153 | + 0.7, |
| 154 | + 1 |
| 155 | + ] |
| 156 | + }, |
| 157 | + |
| 158 | + "yaxis": { |
| 159 | + "tickcolor": "black", |
| 160 | + "domain": [ |
| 161 | + 0, |
| 162 | + 0.45 |
| 163 | + ] |
| 164 | + }, |
| 165 | + "yaxis2": { |
| 166 | + "ticklabelmode": "period", |
| 167 | + "tickcolor": "black", |
| 168 | + "anchor": "x2", |
| 169 | + "domain": [ |
| 170 | + 0.55, |
| 171 | + 1 |
| 172 | + ] |
| 173 | + }, |
| 174 | + "yaxis3": { |
| 175 | + "tickcolor": "black", |
| 176 | + "anchor": "x3", |
| 177 | + "domain": [ |
| 178 | + 0, |
| 179 | + 0.45 |
| 180 | + ] |
| 181 | + }, |
| 182 | + "yaxis4": { |
| 183 | + "ticklabelmode": "period", |
| 184 | + "tickcolor": "black", |
| 185 | + "anchor": "x4", |
| 186 | + "domain": [ |
| 187 | + 0.55, |
| 188 | + 1 |
| 189 | + ] |
| 190 | + }, |
| 191 | + "yaxis5": { |
| 192 | + "ticklabelmode": "period", |
| 193 | + "tickcolor": "black", |
| 194 | + "anchor": "x5", |
| 195 | + "domain": [ |
| 196 | + 0, |
| 197 | + 0.45 |
| 198 | + ] |
| 199 | + }, |
| 200 | + "yaxis6": { |
| 201 | + "ticklabelmode": "period", |
| 202 | + "tickcolor": "black", |
| 203 | + "anchor": "x6", |
| 204 | + "domain": [ |
| 205 | + 0.55, |
| 206 | + 1 |
| 207 | + ] |
| 208 | + } |
| 209 | + } |
| 210 | +} |
0 commit comments