Skip to main content

LegendStrategy

@elastic/chartsExports


@elastic/charts / LegendStrategy

Variable: LegendStrategy

const LegendStrategy: Readonly<Object>

Type declaration

Key

Key: "key"

Highlight all identically named (labelled) items, no matter where they are

KeyInLayer

KeyInLayer: "keyInLayer"

Highlight all identically named (labelled) items within the tree layer (depth or ring) of the specific node(s) that the legend item stands for

Node

Node: "node"

Highlight the specific node(s) that the legend item stands for.

NodeWithDescendants

NodeWithDescendants: "nodeWithDescendants"

Highlight the specific node(s) that the legend item stands for, plus all descendants

Path

Path: "path"

Highlight members of the exact path; ie. like Node, plus all its ancestors

PathWithDescendants

PathWithDescendants: "pathWithDescendants"

Highlight the specific node(s) that the legend item stands for, plus all ancestors and descendants

Source

packages/charts/src/chart_types/partition_chart/layout/utils/highlighted_geoms.ts:58


Generated using typedoc-plugin-markdown and TypeDoc