Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0da3b77

Browse files
committed
updated mock 20 to test axis line width, length, and positioning
no updated baseline yet because the behavior is broken
1 parent fbc0296 commit 0da3b77

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

test/image/mocks/20.json

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999
],
100100
"showline": true,
101101
"ticks": "outside",
102-
"mirror": true
102+
"mirror": true,
103+
"linecolor": "rgba(0,0,0,0.5)",
104+
"linewidth": 10
103105
},
104106
"yaxis": {
105107
"title": "yaxis title",
@@ -112,7 +114,8 @@
112114
"tickfont": {
113115
"color": "#1f77b4"
114116
},
115-
"linecolor": "#1f77b4"
117+
"linecolor": "rgba(31,119,180,0.5)",
118+
"linewidth": 20
116119
},
117120
"legend": {
118121
"x": 1.1,
@@ -131,7 +134,8 @@
131134
"tickfont": {
132135
"color": "#ff7f0e"
133136
},
134-
"linecolor": "#ff7f0e",
137+
"linecolor": "rgba(255,127,14,0.4)",
138+
"linewidth": 6,
135139
"anchor": "free",
136140
"position": 0.15,
137141
"overlaying": "y"
@@ -147,7 +151,7 @@
147151
"tickfont": {
148152
"color": "#2ca02c"
149153
},
150-
"linecolor": "#2ca02c",
154+
"linecolor": "rgba(44,160,44,0.5)",
151155
"anchor": "free",
152156
"position": 0,
153157
"overlaying": "y"
@@ -164,7 +168,8 @@
164168
"color": "#d62728"
165169
},
166170
"showexponent": "last",
167-
"linecolor": "#d62728",
171+
"linecolor": "rgba(214,39,40,0.5)",
172+
"linewidth": 15,
168173
"side": "right",
169174
"overlaying": "y"
170175
},
@@ -181,7 +186,8 @@
181186
},
182187
"exponentformat": "power",
183188
"showexponent": "first",
184-
"linecolor": "#9467bd",
189+
"linecolor": "rgba(148,103,189,0.5)",
190+
"linewidth": 5,
185191
"anchor": "free",
186192
"side": "right",
187193
"position": 0.85,
@@ -199,7 +205,7 @@
199205
"color": "#8c564b"
200206
},
201207
"exponentformat": "SI",
202-
"linecolor": "#8c564b",
208+
"linecolor": "rgba(140,86,75,0.5)",
203209
"anchor": "free",
204210
"side": "right",
205211
"position": 1,

0 commit comments

Comments
 (0)