TooltipContext
@elastic/charts • Exports
@elastic/charts / TooltipContext
Interface: TooltipContext<D, SI>
Contents
Type parameters
• SI extends SeriesIdentifier
= SeriesIdentifier
Properties
actionable
actionable:
boolean
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:25
backgroundColor
backgroundColor:
string
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:22
canPinTooltip
canPinTooltip:
boolean
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:27
dir
dir:
"ltr"
|"rtl"
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:23
maxItems
maxItems:
number
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:24
pinTooltip
pinTooltip:
PinTooltipCallback
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:28
pinned
pinned:
boolean
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:26
selected
selected:
TooltipValue
<D
,SI
>[]
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:30
setSelection
setSelection: (
items
) =>void
Allows setting the selected items - For use with actions
TODO: permit other values than TooltipValue types
Parameters
• items: TooltipValue
<any
, SeriesIdentifier
>[]
Returns
void
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:32
theme
theme:
TooltipStyle
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:21
toggleSelected
toggleSelected: (
item
) =>void
Toggles selected items - For use with actions
TODO: permit other values than TooltipValue types
Parameters
• item: TooltipValue
<any
, SeriesIdentifier
>
Returns
void
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:31
values
values:
TooltipValue
<D
,SI
>[]
Source
packages/charts/src/components/tooltip/components/tooltip_provider.tsx:29
Generated using typedoc-plugin-markdown and TypeDoc