Root definitions

StackTransform

Permalink

Properties

as Required

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".

groupby Required

Array<string>

The data fields to group by.

offset

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

sort

Array<SortField>

Field that determines the order of leaves in the stacked charts.

stack Required

string

Loading...

Editor and Validator