FillClass
Color of the marks – either fill or stroke color based on the filled
property of mark definition. By default,
color
represents fill color for "area"
, "bar"
, "tick"
, "text"
, "trail"
, "circle"
, and "square"
/
stroke color for "line"
and "point"
.
Default value: If undefined, the default color depends on mark
config's color
property.
Note: 1) For fine-grained control over both fill and stroke colors of the marks, please use the fill
and
stroke
channels. The fill
or stroke
encodings have higher precedence than color
, thus may override the
color
encoding if conflicting encodings are specified. 2) See the scale documentation for more information about
customizing color scheme.
Fill color of the marks. Default value: If undefined, the default color depends on mark
config's color
property.
Note: The fill
encoding has higher precedence than color
, thus may override the color
encoding if
conflicting encodings are specified.
Stroke color of the marks. Default value: If undefined, the default color depends on mark
config's color
property.
Note: The stroke
encoding has higher precedence than color
, thus may override the color
encoding if
conflicting encodings are specified.
A FieldDef with Condition