@@ -157,13 +157,29 @@ module.exports = {
157157 role : 'style' ,
158158 description : [
159159 '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.'
161173 ] . join ( ' ' )
162174 } ,
163175 fillcolor : {
164176 valType : 'color' ,
165177 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 ( ' ' )
167183 } ,
168184 marker : {
169185 symbol : {
0 commit comments