TooltipValue
@elastic/charts • Exports
@elastic/charts / TooltipValue
Interface: TooltipValue<D, SI>
This interface describe the properties of single value shown in the tooltip
Contents
Extends
PointerValue
<D
>
Type parameters
• SI extends SeriesIdentifier
= SeriesIdentifier
Properties
color
color:
string
The color of the graphic mark (by default the color of the series)
Source
packages/charts/src/specs/tooltip.ts:50
datum?
datum?:
D
The datum associated with the current tooltip value Maybe not available
Source
packages/charts/src/specs/tooltip.ts:67
formattedMarkValue?
formattedMarkValue?:
null
|string
The mark value to display
Source
packages/charts/src/specs/tooltip.ts:46
formattedValue
formattedValue:
string
The formatted value to display
Inherited from
Source
packages/charts/src/state/types.ts:177
isHighlighted
isHighlighted:
boolean
True if the mouse is over the graphic mark connected to the tooltip