Tooltip
@elastic/charts • Exports
@elastic/charts / Tooltip
Function: Tooltip()
Tooltip<
D
,SI
>(props
):null
Adds settings spec to chart specs
Type parameters
• D extends BaseDatum
= any
• SI extends SeriesIdentifier
= SeriesIdentifier
Parameters
• props: SFProps
<TooltipSpec
<D
, SI
>, "id"
| "chartType"
| "specType"
, "body"
| "footer"
| "header"
| "type"
| "snap"
| "showNullValues"
| "actions"
| "actionsLoading"
| "noActionsLoaded"
| "actionPrompt"
| "pinningPrompt"
| "selectionPrompt"
| "maxTooltipItems"
| "maxVisibleTooltipItems"
, SFOptionalKeys
<TooltipSpec
<any
, SeriesIdentifier
>, "id"
| "chartType"
| "specType"
, "body"
| "footer"
| "header"
| "type"
| "snap"
| "showNullValues"
| "actions"
| "actionsLoading"
| "noActionsLoaded"
| "actionPrompt"
| "pinningPrompt"
| "selectionPrompt"
| "maxTooltipItems"
| "maxVisibleTooltipItems"
>, never
>
Returns
null
Source
packages/charts/src/specs/tooltip.ts:279
Generated using typedoc-plugin-markdown and TypeDoc