Skip to main content

StackMode

@elastic/chartsExports


@elastic/charts / StackMode

Variable: StackMode

const StackMode: Readonly<Object>

The offset and mode applied when stacking values

Type declaration

Percentage

Percentage: "percentage"

Applies a zero baseline and normalizes the values for each point such that the topline is always one.

Silhouette

Silhouette: "silhouette"

Shifts the baseline down such that the center of the streamgraph is always at zero.

Wiggle

Wiggle: "wiggle"

Shifts the baseline so as to minimize the weighted wiggle of layers.

Source

packages/charts/src/chart_types/xy_chart/utils/specs.ts:67


Generated using typedoc-plugin-markdown and TypeDoc