8000 Add test for small timerange on surface plot · plotly/plotly.js@910706a · GitHub
[go: up one dir, main page]

Skip to content

Commit 910706a

Browse files
committed
Add test for small timerange on surface plot
1 parent e2e4fbb commit 910706a

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"data": [
3+
{
4+
"type": "surface",
5+
"x": [0.1, 0.2],
6+
"y": [
7+
"2024-02-03T10:00:00",
8+
"2024-02-03T11:00:00",
9+
],
10+
"z": [
11+
[1001, 1002],
12+
[1002, 1001]
13+
]
14+
}
15+
],
16+
"layout": {
17+
"title": {"text": "Surface plot with time axis with small timerange"},
18+
"width": 600,
19+
"height": 400,
20+
"scene": {
21+
"yaxis": {
22+
"type": "date"
23+
},
24+
"aspectratio": {
25+
"x": 1,
26< 96FD /td>+
"y": 2,
27+
"z": 0.5
28+
},
29+
"camera": {
30+
"center": {
31+
"x": 0.11,
32+
"y": 0.19,
33+
"z": -0.3
34+
},
35+
"eye": {
36+
"x": 1.44,
37+
"y": 1.53,
38+
"z": 1.02
39+
}
40+
}
41+
}
42+
}
43+
}

0 commit comments

Comments
 (0)
0