Skip to content

Commit a72616a

Browse files
committed
add test for date axes
1 parent 3d46d98 commit a72616a

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed
Loading
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"data": [
3+
{
4+
"x": [
5+
"1900-01-01",
6+
"2000-01-01",
7+
"2100-01-01"
8+
],
9+
"y": [1, 3, 2]
10+
},
11+
{
12+
"x": [
13+
"2013-05-01",
14+
"2013-09-01",
15+
"2014-01-01"
16+
],
17+
"y": [1, 3, 2],
18+
"xaxis": "x2",
19+
"yaxis": "y2"
20+
},
21+
{
22+
"x": [
23+
"2013-11-17",
24+
"2013-12-15",
25+
"2014-01-12"
26+
],
27+
"y": [1, 3, 2],
28+
"xaxis": "x3",
29+
"yaxis": "y3"
30+
},
31+
{
32+
"x": [
33+
"2013-01-01",
34+
"2013-01-02",
35+
"2013-01-03"
36+
],
37+
"y": [1, 3, 2],
38+
"xaxis": "x4",
39+
"yaxis": "y4"
40+
},
41+
{
42+
"x": [
43+
"2013-07-01 18:00",
44+
"2013-07-02 00:00",
45+
"2013-07-02 06:00"
46+
],
47+
"y": [1, 3, 2],
48+
"xaxis": "x5",
49+
"yaxis": "y5"
50+
},
51+
{
52+
"x": [
53+
"2013-01-01 23:59",
54+
"2013-01-02 00:00",
55+
"2013-01-02 00:01"
56+
],
57+
"y": [1, 3, 2],
58+
"xaxis": "x6",
59+
"yaxis": "y6"
60+
},
61+
{
62+
"x": [
63+
"2013-07-01 23:59:59",
64+
"2013-07-02 00:00:00",
65+
"2013-07-02 00:00:01"
66+
],
67+
"y": [1, 3, 2],
68+
"xaxis": "x7",
69+
"yaxis": "y7"
70+
}
71+
],
72+
"layout": {
73+
"showlegend": false,
74+
"width": 600,
75+
"height": 500,
76+
"yaxis": {"skipticklabels": 1, "domain": [0, 0.04]},
77+
"yaxis2": {"skipticklabels": 1, "domain": [0.16, 0.2]},
78+
"yaxis3": {"skipticklabels": 1, "domain": [0.32, 0.36]},
79+
"yaxis4": {"skipticklabels": 1, "domain": [0.48, 0.52]},
80+
"yaxis5": {"skipticklabels": 1, "domain": [0.64, 0.68]},
81+
"yaxis6": {"skipticklabels": 1, "domain": [0.80, 0.84]},
82+
"yaxis7": {"skipticklabels": 1, "domain": [0.96, 1]},
83+
"xaxis": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y"},
84+
"xaxis2": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y2"},
85+
"xaxis3": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y3"},
86+
"xaxis4": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y4"},
87+
"xaxis5": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y5"},
88+
"xaxis6": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y6"},
89+
"xaxis7": {"skipticklabels": 1, "tickcolor": "black", "anchor": "y7"}
90+
}
91+
}

0 commit comments

Comments
 (0)