Skip to content

Commit eb2ead5

Browse files
committed
zerolinelayer description: Add note that it doesn't work in combination with zorder.
1 parent d02912f commit eb2ead5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/plots/cartesian/layout_attributes.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,8 @@ module.exports = {
10251025
'Sets the layer on which this zeroline is displayed.',
10261026
'If *above traces*, this zeroline is displayed above all the subplot\'s traces',
10271027
'If *below traces*, this zeroline is displayed below all the subplot\'s traces,',
1028-
'but above the grid lines.'
1028+
'but above the grid lines. Limitation: *zerolinelayer* currently has no effect',
1029+
'if the *zorder* property is set on any trace.'
10291030
].join(' ')
10301031
},
10311032
zerolinewidth: {

test/plot-schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14960,7 +14960,7 @@
1496014960
"valType": "color"
1496114961
},
1496214962
"zerolinelayer": {
14963-
"description": "Sets the layer on which this zeroline is displayed. If *above traces*, this zeroline is displayed above all the subplot's traces If *below traces*, this zeroline is displayed below all the subplot's traces, but above the grid lines.",
14963+
"description": "Sets the layer on which this zeroline is displayed. If *above traces*, this zeroline is displayed above all the subplot's traces If *below traces*, this zeroline is displayed below all the subplot's traces, but above the grid lines. Limitation: *zerolinelayer* currently has no effect if the *zorder* property is set on any trace.",
1496414964
"dflt": "below traces",
1496514965
"editType": "plot",
1496614966
"valType": "enumerated",
@@ -16204,7 +16204,7 @@
1620416204
"valType": "color"
1620516205
},
1620616206
"zerolinelayer": {
16207-
"description": "Sets the layer on which this zeroline is displayed. If *above traces*, this zeroline is displayed above all the subplot's traces If *below traces*, this zeroline is displayed below all the subplot's traces, but above the grid lines.",
16207+
"description": "Sets the layer on which this zeroline is displayed. If *above traces*, this zeroline is displayed above all the subplot's traces If *below traces*, this zeroline is displayed below all the subplot's traces, but above the grid lines. Limitation: *zerolinelayer* currently has no effect if the *zorder* property is set on any trace.",
1620816208
"dflt": "below traces",
1620916209
"editType": "plot",
1621016210
"valType": "enumerated",

0 commit comments

Comments
 (0)