Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit 969cac6

Browse files
committed
Add bar text test case
1 parent e78ed04 commit 969cac6

File tree

1 file changed

+140
-0
lines changed

1 file changed

+140
-0
lines changed

test/image/mocks/bartext.json

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
{
2+
"data": [
3+
{
4+
"y":[
5+
"q",
6+
"w",
7+
"e",
8+
"r",
9+
"t",
10+
"y",
11+
"u",
12+
"i",
13+
"o",
14+
"p",
15+
"a",
16+
"s",
17+
"d",
18+
"f",
19+
"g",
20+
"h",
21+
"j",
22+
"k"
23+
],
24+
"x":[
25+
19,
26+
34,
27+
35,
28+
21,
29+
5,
30+
1,
31+
13,
32+
30,
33+
36,
34+
26,
35+
9,
36+
1,
37+
9,
38+
26,
39+
36,
40+
30,
41+
13,
42+
1
43+
],
44+
"name":"SF Zoo",
45+
"type":"bar",
46+
"orientation":"h",
47+
"uid":"87c9fc"
48+
},
49+
{
50+
"y":[
51+
"q",
52+
"w",
53+
"e",
54+
"r",
55+
"t",
56+
"y",
57+
"u",
58+
"i",
59+
"o",
60+
"p",
61+
"a",
62+
"s",
63+
"d",
64+
"f",
65+
"g",
66+
"h",
67+
"j",
68+
"k"
69+
],
70+
"x":[
71+
19,
72+
34,
73+
35,
74+
21,
75+
5,
76+
1,
77+
13,
78+
30,
79+
36,
80+
26,
81+
9,
82+
1,
83+
9,
84+
26,
85+
36,
86+
30,
87+
13,
88+
1
89+
],
90+
"name":"LA Zoo",
91+
"type":"bar",
92+
"orientation":"h",
93+
"text":[
94+
19,
95+
34,
96+
35,
97+
21,
98+
5,
99+
1,
100+
13,
101+
30,
102+
36,
103+
26,
104+
9,
105+
1,
106+
9,
107+
26,
108+
36,
109+
30,
110+
13,
111+
1
112+
],
113+
"textposition":"outside",
114+
"mode":"markers+text",
115+
"outsidetextfont":{
116+
"size":20
117+
},
118+
"uid":"3a69ae"
119+
}
120+
],
121+
"layout": {
122+
"barmode":"stack",
123+
"xaxis":{
124+
"type":"linear",
125+
"range":[
126+
0,
127+
75.78947368421052
128+
],
129+
"autorange":true
130+
},
131+
"yaxis":{
132+
"type":"category",
133+
"range":[
134+
-0.5,
135+
17.5
136+
],
137+
"autorange":true
138+
}
139+
}
140+
}

0 commit comments

Comments
 (0)