anyOf [string, Array<string>]
Output field names. This can be either a string or an array of strings with two elements denoting the name for the fields for stack start and stack end respectively. If a single string(e.g., "val"
) is provided, the end field will be "val_end"
.
Array<string>
The data fields to group by.
string
Mode for stacking marks. One of "zero"
(default), "center"
, or "normalize"
. The "zero"
offset will stack starting at 0
. The "center"
offset will center the stacks. The "normalize"
offset will compute percentage values for each stack point, with output values in the range [0,1]
.
Default value: "zero"
Valid values: zero
, center
, normalize
Array<SortField>
Field that determines the order of leaves in the stacked charts.
string