Skip to content

Commit 7989733

Browse files
committed
add a mock two scatter3d traces each has 8 points on identical corners
1 parent f3cc465 commit 7989733

File tree

2 files changed

+107
-0
lines changed

2 files changed

+107
-0
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
0,
6+
1,
7+
1,
8+
0,
9+
0,
10+
1,
11+
1,
12+
0
13+
],
14+
"y": [
15+
0,
16+
0,
17+
1,
18+
1,
19+
0,
20+
0,
21+
1,
22+
1
23+
],
24+
"z": [
25+
0,
26+
0,
27+
0,
28+
0,
29+
0,
30+
0,
31+
0,
32+
0
33+
],
34+
"text": [
35+
"first below",
36+
"second below",
37+
"third below",
38+
"fourth below",
39+
"first above",
40+
"second above",
41+
"third above",
42+
"fourth above"
43+
],
44+
"type": "scatter3d",
45+
"opacity": 0.5,
46+
"marker": {
47+
"opacity": 0.5,
48+
"size": 50
49+
}
50+
},
51+
{
52+
"x": [
53+
0,
54+
1,
55+
1,
56+
0,
57+
0,
58+
1,
59+
1,
60+
0
61+
],
62+
"y": [
63+
0,
64+
0,
65+
1,
66+
1,
67+
0,
68+
0,
69+
1,
70+
1
71+
],
72+
"z": [
73+
1,
74+
1,
75+
1,
76+
1,
77+
1,
78+
1,
79+
1,
80+
1
81+
],
82+
"text": [
83+
"first below",
84+
"second below",
85+
"third below",
86+
"fourth below",
87+
"first above",
88+
"second above",
89+
"third above",
90+
"fourth above"
91+
],
92+
"type": "scatter3d",
93+
"opacity": 0.5,
94+
"marker": {
95+
"opacity": 0.5,
96+
"size": 50
97+
}
98+
}
99+
],
100+
"layout": {
101+
"width": 400,
102+
"height": 400,
103+
"title": {
104+
"text": "hover should generally pick latest<br>points on the same position<br>and display above not below"
105+
}
106+
}
107+
}

0 commit comments

Comments
 (0)