SecondaryMetricLabelTooltipProps
@elastic/charts • Exports
@elastic/charts / SecondaryMetricLabelTooltipProps
Interface: SecondaryMetricLabelTooltipProps
Props passed to a custom labelTooltip component, see SecondaryMetricProps.
Contents
Properties
children
children:
ReactElement<any,string|JSXElementConstructor<any>>
The secondary metric element. Render it as the tooltip's trigger.
Source
packages/charts/src/chart_types/metric/specs/index.ts:29
label
label:
string
The label to display in the tooltip
Source
packages/charts/src/chart_types/metric/specs/index.ts:31
placement
placement:
"top"|"left"|"right"
Suggested tooltip placement, derived from the extraTextAlign property of the secondary metric
Source
packages/charts/src/chart_types/metric/specs/index.ts:35
value
value:
string
The secondary metric value
Source
packages/charts/src/chart_types/metric/specs/index.ts:33
Generated using typedoc-plugin-markdown and TypeDoc