Skip to content

Commit 68cec41

Browse files
committed
revamp test case for high precision; separate fancy vs not case
1 parent 70ff88e commit 68cec41

File tree

4 files changed

+71
-6
lines changed

4 files changed

+71
-6
lines changed
-1005 Bytes
Loading
20.2 KB
Loading

test/image/mocks/gl2d_date_axes.json

+30-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,40 @@
22
"data": [
33
{
44
"x": [
5-
"2013-10-04 22:23:00",
6-
"2013-11-04 22:23:00",
7-
"2013-12-04 22:23:00"
5+
"1970-10-25 22:23:00",
6+
"1970-10-25 22:23:00.001",
7+
"1970-10-25 22:23:00.002",
8+
"1970-10-25 22:23:00.003",
9+
"1970-10-25 22:23:00.004",
10+
"2016-10-25 22:23:00",
11+
"2016-10-25 22:23:00.001",
12+
"2016-10-25 22:23:00.002",
13+
"2016-10-25 22:23:00.003",
14+
"2016-10-25 22:23:00.004"
815
],
916
"y": [
17+
0,
1018
1,
19+
2,
1120
3,
12-
6
21+
4,
22+
5,
23+
6,
24+
7,
25+
8,
26+
9
1327
],
14-
"type": "scattergl"
28+
"type": "scattergl",
29+
"mode": "markers"
1530
}
16-
]
31+
],
32+
"layout": {
33+
"xaxis": {
34+
"range": [
35+
1477434179998,
36+
1477434180004
37+
],
38+
"autorange": false
39+
}
40+
}
1741
}
+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
"1970-10-25 22:23:00",
6+
"1970-10-25 22:23:00.001",
7+
"1970-10-25 22:23:00.002",
8+
"1970-10-25 22:23:00.003",
9+
"1970-10-25 22:23:00.004",
10+
"2016-10-25 22:23:00",
11+
"2016-10-25 22:23:00.001",
12+
"2016-10-25 22:23:00.002",
13+
"2016-10-25 22:23:00.003",
14+
"2016-10-25 22:23:00.004"
15+
],
16+
"y": [
17+
0,
18+
1,
19+
2,
20+
3,
21+
4,
22+
5,
23+
6,
24+
7,
25+
8,
26+
9
27+
],
28+
"type": "scattergl",
29+
"mode": "lines+markers"
30+
}
31+
],
32+
"layout": {
33+
"xaxis": {
34+
"range": [
35+
1477434179998,
36+
1477434180004
37+
],
38+
"autorange": false
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)