Skip to content

Commit f51ee96

Browse files
committed
add pie trace to legend valign mock
1 parent 5b4ab14 commit f51ee96

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
-1.83 KB
Loading

test/image/mocks/legend_valign_top.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,22 @@
1010
"name": "Also super long name<br>Also super long name<br>Also super long name",
1111
"type": "scatter",
1212
"showlegend": true
13+
},
14+
{
15+
"type": "pie",
16+
"labels": ["a very<br>long<br>legend item", "a", "b", "c"],
17+
"values": [10, 15, 13, 17],
18+
"domain": {"x": [0.5, 1]}
1319
}
1420
],
1521
"layout": {
1622
"width": 800,
23+
"xaxis": {"domain": [0, 0.5]},
1724
"legend": {
1825
"bgcolor": "rgba(0,255,255,1)",
1926
"valign": "top",
2027
"font": {
21-
"size": 20
28+
"size": 10
2229
}
2330
}
2431
}

0 commit comments

Comments
 (0)