Skip to content

Commit 510c66b

Browse files
archmojemilykl
authored andcommitted
rounded-bar display_height_zero line_width
1 parent 90cf5c3 commit 510c66b

File tree

2 files changed

+322
-0
lines changed

2 files changed

+322
-0
lines changed
61.3 KB
Loading
Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,322 @@
1+
{
2+
"data": [
3+
{
4+
"type": "bar",
5+
"x": [
6+
"A",
7+
"b",
8+
"c",
9+
"d",
10+
"E"
11+
],
12+
"y": [
13+
null,
14+
0.25,
15+
0.5,
16+
0.75,
17+
1
18+
],
19+
"text": [
20+
null,
21+
0.25,
22+
0.5,
23+
0.75,
24+
1
25+
],
26+
"insidetextanchor": "middle",
27+
"cliponaxis": false
28+
},
29+
{
30+
"type": "bar",
31+
"marker": {
32+
"line": {
33+
"width": "1e1"
34+
}
35+
},
36+
"x": [
37+
"A",
38+
"b",
39+
"c",
40+
"d",
41+
"E"
42+
],
43+
"y": [
44+
0,
45+
0,
46+
0.5,
47+
null,
48+
1
49+
],
50+
"text": [
51+
0,
52+
0,
53+
0.5,
54+
null,
55+
1
56+
],
57+
"insidetextanchor": "middle",
58+
"cliponaxis": false
59+
},
60+
{
61+
"type": "bar",
62+
"x": [
63+
"A",
64+
"b",
65+
"c",
66+
"d",
67+
"E"
68+
],
69+
"y": [
70+
null,
71+
0.25,
72+
0.5,
73+
0.75,
74+
1
75+
],
76+
"text": [
77+
null,
78+
0.25,
79+
0.5,
80+
0.75,
81+
1
82+
],
83+
"insidetextanchor": "middle",
84+
"cliponaxis": false,
85+
"xaxis": "x2",
86+
"yaxis": "y2"
87+
},
88+
{
89+
"type": "bar",
90+
"marker": {
91+
"line": {
92+
"width": "1e1"
93+
}
94+
},
95+
"x": [
96+
"A",
97+
"b",
98+
"c",
99+
"d",
100+
"E"
101+
],
102+
"y": [
103+
0,
104+
0,
105+
0.5,
106+
null,
107+
1
108+
],
109+
"text": [
110+
0,
111+
0,
112+
0.5,
113+
null,
114+
1
115+
],
116+
"insidetextanchor": "middle",
117+
"cliponaxis": false,
118+
"xaxis": "x2",
119+
"yaxis": "y2"
120+
},
121+
{
122+
"type": "bar",
123+
"orientation": "h",
124+
"y": [
125+
"A",
126+
"b",
127+
"c",
128+
"d",
129+
"E"
130+
],
131+
"x": [
132+
null,
133+
0.25,
134+
0.5,
135+
0.75,
136+
1
137+
],
138+
"text": [
139+
null,
140+
0.25,
141+
0.5,
142+
0.75,
143+
1
144+
],
145+
"insidetextanchor": "middle",
146+
"cliponaxis": false,
147+
"xaxis": "x3",
148+
"yaxis": "y3"
149+
},
150+
{
151+
"type": "bar",
152+
"marker": {
153+
"line": {
154+
"width": "1e1"
155+
}
156+
},
157+
"orientation": "h",
158+
"y": [
159+
"A",
160+
"b",
161+
"c",
162+
"d",
163+
"E"
164+
],
165+
"x": [
166+
0,
167+
0,
168+
0.5,
169+
null,
170+
1
171+
],
172+
"text": [
173+
0,
174+
0,
175+
0.5,
176+
null,
177+
1
178+
],
179+
"insidetextanchor": "middle",
180+
"cliponaxis": false,
181+
"xaxis": "x3",
182+
"yaxis": "y3"
183+
},
184+
{
185+
"type": "bar",
186+
"orientation": "h",
187+
"y": [
188+
"A",
189+
"b",
190+
"c",
191+
"d",
192+
"E"
193+
],
194+
"x": [
195+
null,
196+
0.25,
197+
0.5,
198+
0.75,
199+
1
200+
],
201+
"text": [
202+
null,
203+
0.25,
204+
0.5,
205+
0.75,
206+
1
207+
],
208+
"insidetextanchor": "middle",
209+
"cliponaxis": false,
210+
"xaxis": "x4",
211+
"yaxis": "y4"
212+
},
213+
{
214+
"type": "bar",
215+
"marker": {
216+
"line": {
217+
"width": "1e1"
218+
}
219+
},
220+
"orientation": "h",
221+
"y": [
222+
"A",
223+
"b",
224+
"c",
225+
"d",
226+
"E"
227+
],
228+
"x": [
229+
0,
230+
0,
231+
0.5,
232+
null,
233+
1
234+
],
235+
"text": [
236+
0,
237+
0,
238+
0.5,
239+
null,
240+
1
241+
],
242+
"insidetextanchor": "middle",
243+
"cliponaxis": false,
244+
"xaxis": "x4",
245+
"yaxis": "y4"
246+
}
247+
],
248+
"layout": {
249+
"showlegend": true,
250+
"width": 800,
251+
"height": 800,
252+
"dragmode": "pan",
253+
"barmode": "relative",
254+
"barcornerradius": "50%",
255+
"xaxis": {
256+
"zeroline": false,
257+
"domain": [
258+
0,
259+
0.48
260+
]
261+
},
262+
"xaxis2": {
263+
"zeroline": false,
264+
"autorange": "reversed",
265+
"anchor": "y2",
266+
"domain": [
267+
0.52,
268+
1
269+
]
270+
},
271+
"xaxis3": {
272+
"zeroline": false,
273+
"anchor": "y3",
274+
"domain": [
275+
0,
276+
0.48
277+
]
278+
},
279+
"xaxis4": {
280+
"zeroline": false,
281+
"autorange": "reversed",
282+
"anchor": "y4",
283+
"domain": [
284+
0.52,
285+
1
286+
]
287+
},
288+
"yaxis": {
289+
"zeroline": false,
290+
"domain": [
291+
0,
292+
0.48
293+
]
294+
},
295+
"yaxis2": {
296+
"zeroline": false,
297+
"autorange": "reversed",
298+
"anchor": "x2",
299+
"domain": [
300+
0.52,
301+
1
302+
]
303+
},
304+
"yaxis3": {
305+
"zeroline": false,
306+
"anchor": "x3",
307+
"domain": [
308+
0.52,
309+
1
310+
]
311+
},
312+
"yaxis4": {
313+
"zeroline": false,
314+
"autorange": "reversed",
315+
"anchor": "x4",
316+
"domain": [
317+
0,
318+
0.48
319+
]
320+
}
321+
}
322+
}

0 commit comments

Comments
 (0)