Skip to content

Commit 78b6646

Browse files
committed
test world-cals in scattergl & gl2d axes
1 parent 86b31ea commit 78b6646

File tree

2 files changed

+33
-25
lines changed

2 files changed

+33
-25
lines changed
1.04 KB
Loading

test/image/mocks/gl2d_date_axes.json

Lines changed: 33 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,20 @@
1414
"2016-10-25 22:23:00.004"
1515
],
1616
"y": [
17-
0,
18-
1,
19-
2,
20-
3,
21-
4,
22-
5,
23-
6,
24-
7,
25-
8,
26-
9
17+
"0100-01-01",
18+
"0100-01-02",
19+
"0100-01-03",
20+
"0100-01-04",
21+
"0100-01-05",
22+
"0100-01-06",
23+
"0100-01-07",
24+
"0100-01-08",
25+
"0100-01-09",
26+
"0100-01-10"
2727
],
2828
"type": "scattergl",
29-
"mode": "markers"
29+
"mode": "markers",
30+
"ycalendar": "taiwan"
3031
},
3132
{
3233
"x": [
@@ -42,28 +43,35 @@
4243
"2016-10-25 22:23:00.004"
4344
],
4445
"y": [
45-
10,
46-
11,
47-
12,
48-
13,
49-
14,
50-
15,
51-
16,
52-
17,
53-
18,
54-
19
46+
"0100-01-11",
47+
"0100-01-12",
48+
"0100-01-13",
49+
"0100-01-14",
50+
"0100-01-15",
51+
"0100-01-16",
52+
"0100-01-17",
53+
"0100-01-18",
54+
"0100-01-19",
55+
"0100-01-20"
5556
],
5657
"type": "scattergl",
57-
"mode": "lines+markers"
58+
"mode": "lines+markers",
59+
"ycalendar": "taiwan"
5860
}
5961
],
6062
"layout": {
6163
"xaxis": {
6264
"range": [
63-
"2016-10-25 22:22:59.998",
64-
"2016-10-25 22:23:00.004"
65+
"2559-10-25 22:22:59.998",
66+
"2559-10-25 22:23:00.004"
6567
],
66-
"autorange": false
68+
"autorange": false,
69+
"calendar": "thai",
70+
"title": "Thai"
71+
},
72+
"yaxis": {
73+
"calendar": "mayan",
74+
"title": "Mayan"
6775
}
6876
}
6977
}

0 commit comments

Comments
 (0)