Skip to content

Commit 0b33f53

Browse files
committed
description for scatterternary.fill, separate from scatter.fill
1 parent 0865fb5 commit 0b33f53

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/traces/scatterternary/attributes.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,18 @@ module.exports = {
8181
},
8282
connectgaps: scatterAttrs.connectgaps,
8383
fill: extendFlat({}, scatterAttrs.fill, {
84-
values: ['none', 'toself', 'tonext']
84+
values: ['none', 'toself', 'tonext'],
85+
description: [
86+
'Sets the area to fill with a solid color.',
87+
'Use with `fillcolor` if not *none*.',
88+
'scatterternary has a subset of the options available to scatter.',
89+
'*toself* connects the endpoints of the trace (or each segment',
90+
'of the trace if it has gaps) into a closed shape.',
91+
'*tonext* fills the space between two traces if one completely',
92+
'encloses the other (eg consecutive contour lines), and behaves like',
93+
'*toself* if there is no trace before it. *tonext* should not be',
94+
'used if one trace does not enclose the other.'
95+
].join(' ')
8596
}),
8697
fillcolor: scatterAttrs.fillcolor,
8798
marker: {

0 commit comments

Comments
 (0)