Skip to main content

LegendColorPickerProps

@elastic/chartsExports


@elastic/charts / LegendColorPickerProps

Interface: LegendColorPickerProps

Contents

Properties

anchor

anchor: HTMLElement

Anchor used to position picker

Source

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


color

color: string

Current color of the given series

Source

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


onChange

onChange: (color) => void

Callback to update temporary color state

Parameters

color: null | string

Returns

void

Source

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


onClose

onClose: () => void

Callback to close color picker and set persistent color

Returns

void

Source

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


seriesIdentifiers

seriesIdentifiers: SeriesIdentifier[]

Series ids for the active series

Source

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


Generated using typedoc-plugin-markdown and TypeDoc