Skip to content

Commit a6a6d62

Browse files
committed
drop sort from one jasmine mock
1 parent de8b517 commit a6a6d62

File tree

1 file changed

+108
-25
lines changed

1 file changed

+108
-25
lines changed

test/image/mocks/funnelarea_title_multiple.json

Lines changed: 108 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,141 @@
11
{
22
"data": [
33
{
4-
"values": [38600, 83100, 11100, 15400, 1740, 77],
5-
"labels": ["Platinum", "Palladium", "Rhodium", "Ruthenium", "Iridium", "Osmium"],
6-
"type": "funnelarea", "sort": true,
4+
"values": [
5+
83100,
6+
38600,
7+
15400,
8+
11100,
9+
1740,
10+
77
11+
],
12+
"labels": [
13+
"Palladium",
14+
"Platinum",
15+
"Ruthenium",
16+
"Rhodium",
17+
"Iridium",
18+
"Osmium"
19+
],
20+
"type": "funnelarea",
721
"name": "Year 2013",
822
"title": "Year<br>2013",
923
"titleposition": "top left",
1024
"domain": {
11-
"x": [0, 0.5],
12-
"y": [0.51, 1]
25+
"x": [
26+
0,
27+
0.5
28+
],
29+
"y": [
30+
0.51,
31+
1
32+
]
1333
},
1434
"hoverinfo": "label+percent+name",
1535
"textinfo": "none"
16-
},{
17-
"values": [45800, 92900, 11100, 11000, 1960, 322],
18-
"labels": ["Platinum", "Palladium", "Rhodium", "Ruthenium", "Iridium", "Osmium"],
19-
"type": "funnelarea", "sort": true,
36+
},
37+
{
38+
"values": [
39+
92900,
40+
45800,
41+
11100,
42+
11000,
43+
1960,
44+
322
45+
],
46+
"labels": [
47+
"Palladium",
48+
"Platinum",
49+
"Rhodium",
50+
"Ruthenium",
51+
"Iridium",
52+
"Osmium"
53+
],
54+
"type": "funnelarea",
2055
"name": "Year 2014",
2156
"title": "Year<br>2014",
2257
"titleposition": "top right",
2358
"domain": {
24-
"x": [0.51, 1],
25-
"y": [0.51, 1]
59+
"x": [
60+
0.51,
61+
1
62+
],
63+
"y": [
64+
0.51,
65+
1
66+
]
2667
},
2768
"hoverinfo": "label+percent+name",
2869
"textinfo": "none"
29-
},{
30-
"values": [42700, 85300, 10600, 8230, 1010, 8],
31-
"labels": ["Platinum", "Palladium", "Rhodium", "Ruthenium", "Iridium", "Osmium"],
32-
"type": "funnelarea", "sort": true,
70+
},
71+
{
72+
"values": [
73+
85300,
74+
42700,
75+
10600,
76+
8230,
77+
1010,
78+
8
79+
],
80+
"labels": [
81+
"Palladium",
82+
"Platinum",
83+
"Rhodium",
84+
"Ruthenium",
85+
"Iridium",
86+
"Osmium"
87+
],
88+
"type": "funnelarea",
3389
"name": "Year 2015",
3490
"title": "Year<br>2015",
3591
"domain": {
36-
"x": [0, 0.5],
37-
"y": [0, 0.5]
92+
"x": [
93+
0,
94+
0.5
95+
],
96+
"y": [
97+
0,
98+
0.5
99+
]
38100
},
39101
"hoverinfo": "label+percent+name",
40102
"textinfo": "none"
41-
},{
42-
"values": [42300, 80400, 10700, 8410, 1300, 27],
43-
"labels": ["Platinum", "Palladium", "Rhodium", "Ruthenium", "Iridium", "Osmium"],
44-
"type": "funnelarea", "sort": true,
103+
},
104+
{
105+
"values": [
106+
80400,
107+
42300,
108+
10700,
109+
8410,
110+
1300,
111+
27
112+
],
113+
"labels": [
114+
"Palladium",
115+
"Platinum",
116+
"Rhodium",
117+
"Ruthenium",
118+
"Iridium",
119+
"Osmium"
120+
],
121+
"type": "funnelarea",
45122
"name": "Year 2016",
46123
"title": "Year<br>2016",
47124
"domain": {
48-
"x": [0.51, 1],
49-
"y": [0, 0.5]
125+
"x": [
126+
0.51,
127+
1
128+
],
129+
"y": [
130+
0,
131+
0.5
132+
]
50133
},
51134
"hoverinfo": "label+percent+name",
52135
"textinfo": "none"
53136
}
54-
],
55-
"layout": {
137+
],
138+
"layout": {
56139
"title": "U.S. Imports for Platinum-group Metals",
57140
"height": 400,
58141
"width": 500

0 commit comments

Comments
 (0)