Skip to content

Commit fe0c988

Browse files
committed
describe fill reordering in scatter attributes
1 parent f6c5d56 commit fe0c988

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/traces/scatter/attributes.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ module.exports = {
8585
'stacked. Stacking also turns `fill` on by default, using *tonexty*',
8686
'(*tonextx*) if `orientation` is *h* (*v*) and sets the default',
8787
'`mode` to *lines* irrespective of point count.',
88-
'You can only stack on a numeric (linear or log) axis.'
88+
'You can only stack on a numeric (linear or log) axis.',
89+
'Traces in a `stackgroup` will only fill to (or be filled to) other',
90+
'traces in the same group. With multiple `stackgroup`s or some',
91+
'traces stacked and some not, if fill-linked traces are not already',
92+
'consecutive, the later ones will be pushed down in the drawing order.'
8993
].join(' ')
9094
},
9195
orientation: {
@@ -299,7 +303,11 @@ module.exports = {
299303
'*tonext* fills the space between two traces if one completely',
300304
'encloses the other (eg consecutive contour lines), and behaves like',
301305
'*toself* if there is no trace before it. *tonext* should not be',
302-
'used if one trace does not enclose the other.'
306+
'used if one trace does not enclose the other.',
307+
'Traces in a `stackgroup` will only fill to (or be filled to) other',
308+
'traces in the same group. With multiple `stackgroup`s or some',
309+
'traces stacked and some not, if fill-linked traces are not already',
310+
'consecutive, the later ones will be pushed down in the drawing order.'
303311
].join(' ')
304312
},
305313
fillcolor: {

0 commit comments

Comments
 (0)