Skip to main content

HIERARCHY_ROOT_KEY

@elastic/chartsExports


@elastic/charts / HIERARCHY_ROOT_KEY

Variable: HIERARCHY_ROOT_KEY

const HIERARCHY_ROOT_KEY: Key = '__root_key__'

Indicates that a node is the root of a specific partition chart, eg. the root of a single pie chart, or one pie chart in a small multiples setting. Used in the second position of a LegendPath array

Source

packages/charts/src/chart_types/partition_chart/layout/utils/group_by_rollup.ts:76


Generated using typedoc-plugin-markdown and TypeDoc