Skip to content

Commit c581989

Browse files
committed
Add mock with a legend located at y -1
1 parent e1effce commit c581989

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed
21.3 KB
Loading
+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"data":[
3+
{
4+
"x":[
5+
0,
6+
1,
7+
2,
8+
3,
9+
4,
10+
5,
11+
6,
12+
7,
13+
8
14+
],
15+
"y":[
16+
0,
17+
3,
18+
6,
19+
4,
20+
5,
21+
2,
22+
3,
23+
5,
24+
4
25+
],
26+
"type":"scatter"
27+
},
28+
{
29+
"x":[
30+
0,
31+
1,
32+
2,
33+
3,
34+
4,
35+
5,
36+
6,
37+
7,
38+
8
39+
],
40+
"y":[
41+
0,
42+
4,
43+
7,
44+
8,
45+
3,
46+
6,
47+
3,
48+
3,
49+
4
50+
],
51+
"type":"scatter"
52+
}
53+
],
54+
"layout":{
55+
"showlegend":true,
56+
"legend":{
57+
"x":1,
58+
"y":-1,
59+
"xanchor":"left"
60+
}
61+
}
62+
}

0 commit comments

Comments
 (0)