Skip to main content

LayerValue

@elastic/charts • Exports


@elastic/charts / LayerValue

Interface: LayerValue

Contents​

Properties​

depth​

depth: number

The depth of the partition in terms of the layered partition tree, where 0 is root (single, not visualized root of the partitioning tree), 1 is pie chart slices and innermost layer of sunburst, or 1st level treemap/flame/icicle breakdown 2 and above are increasingly outer layers maximum value is on the deepest leaf node

Source​

packages/charts/src/specs/settings.tsx:77


groupByRollup​

groupByRollup: PrimitiveValue

The category value as retrieved by the groupByRollup callback

Source​

packages/charts/src/specs/settings.tsx:57


path​

path: LegendPath

It contains the full path of the partition node, which is an array of {index, value} tuples where index corresponds to sortIndex and value corresponds groupByRollup

Source​

packages/charts/src/specs/settings.tsx:82


smAccessorValue​

smAccessorValue: string | number

The small multiples <GroupBy> by accessor value, to specify which small multiples panel is interacted with

Source​

packages/charts/src/specs/settings.tsx:61


sortIndex​

sortIndex: number

The position index of the sub-partition within its containing partition

Source​

packages/charts/src/specs/settings.tsx:69


value​

value: number

Numerical value of the partition

Source​

packages/charts/src/specs/settings.tsx:65


Generated using typedoc-plugin-markdown and TypeDoc