Skip to content

Commit ee610d6

Browse files
committed
only one big mock for the 3 tests
1 parent f28de0c commit ee610d6

8 files changed

+108
-121
lines changed
-15.7 KB
Binary file not shown.
-14 KB
Binary file not shown.
-14.9 KB
Binary file not shown.
Loading

test/image/mocks/gl2d_fill_trace_fillx.json

-36
This file was deleted.

test/image/mocks/gl2d_fill_trace_filly.json

-52
This file was deleted.

test/image/mocks/gl2d_fill_trace_order.json

-33
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"data": [
3+
{
4+
"x": [null, 3 , 3, null, null
5+
],
6+
"y": [ 25,30,35,40 ,50 ],
7+
"type": "scattergl",
8+
"fill": "tozerox",
9+
"mode": "none",
10+
"showlegend": false, "xaxis": "x", "yaxis": "y" ,
11+
"fillcolor": "#FF69B4",
12+
"line": { "color": "#FF69B4" }
13+
14+
},
15+
{
16+
"x": [
17+
null,
18+
null,
19+
null,
20+
5,
21+
5
22+
],
23+
"y": [ 25,30,35,40 ,50 ],
24+
"type": "scattergl",
25+
"fill": "tozerox",
26+
"mode": "markers+lines",
27+
"showlegend": false, "xaxis": "x", "yaxis": "y" ,
28+
"fillcolor": "#202ff0",
29+
"line": { "color": "#101ff0" }
30+
},
31+
{
32+
"x": [
33+
1,
34+
2,
35+
3,
36+
4,
37+
5
38+
],
39+
"y": [ null, 50, 50,null ,null
40+
],
41+
"type": "scattergl",
42+
"fill": "tozeroy",
43+
"mode": "none",
44+
"showlegend": false, "xaxis": "x2", "yaxis": "y2" ,
45+
"fillcolor": "#90ff70",
46+
"line": { "color": "#90ff70" }
47+
48+
},
49+
{
50+
"x": [
51+
1,
52+
2,
53+
3,
54+
4,
55+
5
56+
],
57+
"y": [null
58+
,null
59+
,null
60+
,
61+
50,
62+
50
63+
],
64+
"type": "scattergl",
65+
"fill": "tozeroy",
66+
"mode": "markers+lines",
67+
"showlegend": false, "xaxis": "x2", "yaxis": "y2" ,
68+
"fillcolor": "#f02f20",
69+
"line": { "color": "#f01f10" }
70+
},
71+
{
72+
"x": [ 1, 1, 2, 3, 4, 5,5
73+
],
74+
"y": [ 0,25,25,25,25,25,0
75+
],
76+
"type": "scattergl",
77+
"fill": "tozeroy",
78+
"mode": "markers+lines",
79+
"showlegend": false, "xaxis": "x3", "yaxis": "y3" ,
80+
"fillcolor": "#f02f20",
81+
"line": { "color": "#f01f10" }
82+
},
83+
{
84+
"x": [ 1, 2, 2, 3, 4, 4,5
85+
],
86+
"y": [ 0, 0,50,50,50, 0,0
87+
],
88+
"type": "scattergl",
89+
"fill": "tozeroy",
90+
"mode": "none",
91+
"showlegend": false, "xaxis": "x3", "yaxis": "y3" ,
92+
"fillcolor": "#90ff70",
93+
"line": { "color": "#90ff70" }
94+
95+
}
96+
],
97+
"layout": {
98+
"width": 800,"height": 800,
99+
"margin": {"l": 100, "r": 100, "t": 100, "b": 100},
100+
"grid": {"columns": 1, "rows": 3, "pattern": "independent", "roworder": "bottom to top"} ,
101+
"xaxis" : { "title": "" , "type": "linear", "rangemode": "tozero", "nticks": 3 },
102+
"xaxis2": { "title": "" , "type": "linear", "rangemode": "tozero", "nticks": 3 },
103+
"xaxis3": { "title": "" , "type": "linear", "rangemode": "tozero", "nticks": 3 },
104+
"yaxis" : { "title": "" , "type": "linear", "range": [0,60], "nticks": 3 },
105+
"yaxis2": { "title": "" , "type": "linear", "range": [0,60], "nticks": 3 },
106+
"yaxis3": { "title": "" , "type": "linear", "range": [0,60], "nticks": 3 }
107+
}
108+
}

0 commit comments

Comments
 (0)