Skip to content

Commit 9c69c76

Browse files
committed
Add mock
1 parent 06f63c7 commit 9c69c76

File tree

1 file changed

+75
-0
lines changed

1 file changed

+75
-0
lines changed
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"data": [
3+
{
4+
"y": [0]
5+
},
6+
{
7+
"y": [1]
8+
},
9+
{
10+
"y": [2]
11+
},
12+
{
13+
"y": [3],
14+
"legend": "legend2"
15+
},
16+
{
17+
"y": [4],
18+
"legend": "legend3"
19+
},
20+
{
21+
"y": [5],
22+
"legend": "legend3"
23+
}
24+
],
25+
"layout": {
26+
"margin": {"t": 0, "b": 0, "r": 0, "l": 0},
27+
"title": {
28+
"text": "Multiple legends | Legends 1 & 2 with container ref",
29+
"automargin": true,
30+
"yref": "container"
31+
},
32+
"width": 500,
33+
"height": 500,
34+
"yaxis": {
35+
"autorange": "reversed",
36+
"title": {"text": "Long axis title with standoff", "font": {"size": 24}, "standoff": 25},
37+
"side": "right",
38+
"automargin": true
39+
},
40+
"xaxis": {"title": {"text": "Xaxis title"}, "automargin": true},
41+
"legend": {
42+
"bgcolor": "lightgray",
43+
"xref": "container",
44+
"title": {
45+
"text": "Legend"
46+
}
47+
},
48+
"legend2": {
49+
"x": 0,
50+
"y": 0.5,
51+
"xanchor": "right",
52+
"yanchor": "top",
53+
"bgcolor": "lightblue",
54+
"title": {
55+
"text": "Legend 2"
56+
}
57+
},
58+
"legend3": {
59+
"y": 0,
60+
"x": 0.5,
61+
"orientation": "h",
62+
"yref": "container",
63+
"xref": "container",
64+
"xanchor": "center",
65+
"bgcolor": "yellow",
66+
"title": {
67+
"text": "Legend 3"
68+
}
69+
},
70+
"hovermode": "x unified"
71+
},
72+
"config": {
73+
"editable": true
74+
}
75+
}

0 commit comments

Comments
 (0)