Skip to content

Commit a1abb19

Browse files
committed
add legendrank2 mock
1 parent 32a890c commit a1abb19

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

test/image/baselines/legendrank2.png

10.6 KB
Loading

test/image/mocks/legendrank2.json

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"data": [
3+
{
4+
"name": "A",
5+
"legendrank": 2,
6+
"y": [-2]
7+
},
8+
{
9+
"name": "D",
10+
"legendrank": 4,
11+
"y": [-4],
12+
"legendgroup": "bottom"
13+
},
14+
{
15+
"name": "E",
16+
"legendrank": 4,
17+
"y": [-4],
18+
"legendgroup": "bottom"
19+
},
20+
{
21+
"name": "B",
22+
"legendrank": 1,
23+
"y": [-1],
24+
"legendgroup": "top"
25+
},
26+
{
27+
"name": "C",
28+
"legendrank": 3,
29+
"y": [-3],
30+
"legendgroup": "top"
31+
}
32+
],
33+
"layout": {
34+
"title": {
35+
"text": "rank groups using<br>minimum of the group"
36+
},
37+
"width": 300,
38+
"height": 300,
39+
"margin": {
40+
"b": 25
41+
},
42+
"hovermode": "x unified"
43+
}
44+
}

0 commit comments

Comments
 (0)