Skip to main content

TooltipValueFormatter

@elastic/chartsExports


@elastic/charts / TooltipValueFormatter

Type alias: TooltipValueFormatter<D, SI>

TooltipValueFormatter<D, SI>: (data) => JSX.Element | string

Type parameters

D extends BaseDatum = Datum

SI extends SeriesIdentifier = SeriesIdentifier

A value formatter of a TooltipValue

Parameters

data: TooltipValue<D, SI>

Returns

JSX.Element | string

Source

packages/charts/src/specs/tooltip.ts:76


Generated using typedoc-plugin-markdown and TypeDoc