Skip to content

Commit fe4cbe0

Browse files
committed
add gl3d marker symbols mock
1 parent 70fe756 commit fe4cbe0

File tree

2 files changed

+77
-0
lines changed

2 files changed

+77
-0
lines changed
8.71 KB
Loading
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"data": [
3+
{
4+
"type": "scatter3d",
5+
"x": [1, 2, 3, 4, 5, 6, 7, 8],
6+
"y": [1, 1, 1, 1, 1, 1, 1, 1],
7+
"z": [1, 1, 1, 1, 1, 1, 1, 1],
8+
"mode": "markers",
9+
"text": [
10+
"marker symbol: 'circle'",
11+
"marker symbol: 'circle-open'",
12+
"marker symbol: 'square'",
13+
"marker symbol: 'square-open'",
14+
"marker symbol: 'diamond'",
15+
"marker symbol: 'diamond-open'",
16+
"marker symbol: 'cross'"
17+
],
18+
"marker": {
19+
"color": "blue",
20+
"size": 8,
21+
"symbol": [
22+
"circle",
23+
"circle-open",
24+
"square",
25+
"square-open",
26+
"diamond",
27+
"diamond-open",
28+
"cross"
29+
],
30+
"line": {
31+
"color": "orange",
32+
"width": 1.5
33+
}
34+
},
35+
"hovertext": "text"
36+
}
37+
],
38+
"layout": {
39+
"width": 500,
40+
"height": 500,
41+
"margin": {"l": 0, "r": 0, "b": 0, "t": 0},
42+
"scene": {
43+
"camera": {
44+
"eye": {
45+
"x": 0.1,
46+
"y": 0.1,
47+
"z": 2.1
48+
}
49+
},
50+
"xaxis": {
51+
"showgrid": false,
52+
"zeroline": false,
53+
"showline": false,
54+
"showticklabels": false,
55+
"title": "",
56+
"range": [0, 10]
57+
},
58+
"yaxis": {
59+
"showgrid": false,
60+
"zeroline": false,
61+
"showline": false,
62+
"showticklabels": false,
63+
"title": "",
64+
"range": [0, 6]
65+
},
66+
"zaxis": {
67+
"showgrid": false,
68+
"zeroline": false,
69+
"showline": false,
70+
"showticklabels": false,
71+
"title": "",
72+
"range": [0, 2]
73+
}
74+
},
75+
"hovermode": "closest"
76+
}
77+
}

0 commit comments

Comments
 (0)