StackTransform
StackTransform =
object
Defined in: spec/transform.ts:56
Turns overlapping values into contiguous ones: the difference between a grouped bar chart and a stacked one, and between an area chart and a streamgraph.
Properties
Section titled “Properties”
optionalas?: readonly [string,string]
Defined in: spec/transform.ts:62
field:
string
Defined in: spec/transform.ts:58
groupBy
Section titled “groupBy”groupBy: readonly
string[]
Defined in: spec/transform.ts:59
kind:
"stack"
Defined in: spec/transform.ts:57
offset?
Section titled “offset?”
optionaloffset?:"zero"|"normalize"|"center"
Defined in: spec/transform.ts:61
"zero" stacks from a baseline, "normalize" to a share of one.