Skip to content

Commit e6d5a1c

Browse files
committed
add gl2d marker symbols mock
1 parent 583e810 commit e6d5a1c

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
13.2 KB
Loading
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scattergl",
5+
"x": [1, 2, 3, 4, 5, 6, 7],
6+
"y": [1, 1, 1, 1, 1, 1, 1],
7+
"mode": "markers",
8+
"text": [
9+
"marker symbol: 'circle'",
10+
"marker symbol: 'circle-open'",
11+
"marker symbol: 'square'",
12+
"marker symbol: 'square-open'",
13+
"marker symbol: 'diamond'",
14+
"marker symbol: 'diamond-open'",
15+
"marker symbol: 'cross'"
16+
],
17+
"marker": {
18+
"color": "blue",
19+
"size": 20,
20+
"symbol": [
21+
"circle",
22+
"circle-open",
23+
"square",
24+
"square-open",
25+
"diamond",
26+
"diamond-open",
27+
"cross"
28+
],
29+
"line": {
30+
"color": "orange",
31+
"width": 1.5
32+
}
33+
}
34+
}
35+
],
36+
"layout": {
37+
"width": 500,
38+
"height": 500,
39+
"xaxis": {
40+
"zeroline": false,
41+
"showline": false,
42+
"showticklabels": false,
43+
"range": [0, 10]
44+
},
45+
"yaxis": {
46+
"zeroline": false,
47+
"showline": false,
48+
"showticklabels": false,
49+
"range": [0, 6]
50+
},
51+
"hovermode": "closest"
52+
}
53+
}

0 commit comments

Comments
 (0)