Skip to content

Commit 5348c58

Browse files
committed
add new mocks cases by Nicolas
1 parent eab205a commit 5348c58

6 files changed

+118
-0
lines changed
Loading
Loading
Loading
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"data": [
3+
{
4+
"type": "bar",
5+
"orientation": "h",
6+
"x": [
7+
1,
8+
2,
9+
3,
10+
4,
11+
5
12+
],
13+
"y": [
14+
1,
15+
2,
16+
3,
17+
4,
18+
5
19+
],
20+
"text": [
21+
"9",
22+
"iiiii",
23+
"i",
24+
"d",
25+
"50"
26+
],
27+
"textposition": "auto",
28+
"textangle": 0
29+
}
30+
],
31+
"layout": {
32+
"height": 300,
33+
"width": 500,
34+
"font": {
35+
"size": 24
36+
},
37+
"uniformtext": {
38+
"minsize": 9,
39+
"mode": "hide"
40+
}
41+
}
42+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"data": [
3+
{
4+
"type": "bar",
5+
"orientation": "v",
6+
"x": [
7+
1,
8+
2,
9+
3,
10+
4,
11+
5
12+
],
13+
"y": [
14+
1,
15+
2,
16+
3,
17+
4,
18+
5
19+
],
20+
"text": [
21+
"9",
22+
"iiiiiii",
23+
"i",
24+
"d",
25+
"50"
26+
],
27+
"textposition": "inside",
28+
"textangle": 0
29+
}
30+
],
31+
"layout": {
32+
"height": 500,
33+
"width": 300,
34+
"font": {
35+
"size": 24
36+
},
37+
"uniformtext": {
38+
"minsize": 10,
39+
"mode": "hide"
40+
}
41+
}
42+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"data": [
3+
{
4+
"type": "bar",
5+
"y": [
6+
999,
7+
4999,
8+
8999,
9+
12999,
10+
16999,
11+
20999,
12+
24999,
13+
28999,
14+
32999,
15+
36999,
16+
40999,
17+
44999
18+
],
19+
"texttemplate": "%{y}",
20+
"textposition": "auto",
21+
"textangle": 0,
22+
"textfont": {
23+
"size": 16
24+
}
25+
}
26+
],
27+
"layout": {
28+
"width": 800,
29+
"height": 600,
30+
"uniformtext": {
31+
"mode": "hide"
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)