@@ -157,13 +157,29 @@ module.exports = {
157
157
role : 'style' ,
158
158
description : [
159
159
'Sets the area to fill with a solid color.' ,
160
- 'Use with `fillcolor`.'
160
+ 'Use with `fillcolor` if not *none*.' ,
161
+ '*tozerox* and *tozeroy* fill to x=0 and y=0 respectively.' ,
162
+ '*tonextx* and *tonexty* fill between the endpoints of this' ,
163
+ 'trace and the endpoints of the trace before it, connecting those' ,
164
+ 'endpoints with straight lines (to make a stacked area graph);' ,
165
+ 'if there is no trace before it, they behave like *tozerox* and' ,
166
+ '*tozeroy*.' ,
167
+ '*toself* connects the endpoints of the trace (or each segment' ,
168
+ 'of the trace if it has gaps) into a closed shape.' ,
169
+ '*tonext* fills the space between two traces if one completely' ,
170
+ 'encloses the other (eg consecutive contour lines), and behaves like' ,
171
+ '*toself* if there is no trace before it. *tonext* should not be' ,
172
+ 'used if one trace does not enclose the other.'
161
173
] . join ( ' ' )
162
174
} ,
163
175
fillcolor : {
164
176
valType : 'color' ,
165
177
role : 'style' ,
166
- description : 'Sets the fill color.'
178
+ description : [
179
+ 'Sets the fill color.' ,
180
+ 'Defaults to a half-transparent variant of the line color,' ,
181
+ 'marker color, or marker line color, whichever is available.'
182
+ ] . join ( ' ' )
167
183
} ,
168
184
marker : {
169
185
symbol : {
0 commit comments