Skip to main content

TooltipInfo

@elastic/charts • Exports


@elastic/charts / TooltipInfo

Interface: TooltipInfo<D, SI>

The set of info used to render the a tooltip.

Contents​

Extended By​

Type parameters​

• D extends BaseDatum = Datum

• SI extends SeriesIdentifier = SeriesIdentifier

Properties​

header: null | PointerValue<D>

The TooltipValue for the header. On XYAxis chart the x value

Source​

packages/charts/src/components/tooltip/types.ts:24


values​

values: TooltipValue<D, SI>[]

The array of TooltipValues to show on the tooltip. On XYAxis chart correspond to the set of y values for each series

Source​

packages/charts/src/components/tooltip/types.ts:29


Generated using typedoc-plugin-markdown and TypeDoc