Skip to content

Commit d528fa7

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

File tree

2 files changed

+58
-6
lines changed

2 files changed

+58
-6
lines changed
865 Bytes
Loading

test/image/mocks/gl2d_date_axes.json

+58-6
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,68 @@
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"
30+
},
31+
{
32+
"x": [
33+
"1970-10-25 22:23:00",
34+
"1970-10-25 22:23:00.001",
35+
"1970-10-25 22:23:00.002",
36+
"1970-10-25 22:23:00.003",
37+
"1970-10-25 22:23:00.004",
38+
"2016-10-25 22:23:00",
39+
"2016-10-25 22:23:00.001",
40+
"2016-10-25 22:23:00.002",
41+
"2016-10-25 22:23:00.003",
42+
"2016-10-25 22:23:00.004"
43+
],
44+
"y": [
45+
10,
46+
11,
47+
12,
48+
13,
49+
14,
50+
15,
51+
16,
52+
17,
53+
18,
54+
19
55+
],
56+
"type": "scattergl",
57+
"mode": "lines+markers"
58+
}
59+
],
60+
"layout": {
61+
"xaxis": {
62+
"range": [
63+
1477434179998,
64+
1477434180004
65+
],
66+
"autorange": false
1567
}
16-
]
68+
}
1769
}

0 commit comments

Comments
 (0)