Interface: TooltipItem<TType>
Properties
The chart the tooltip is being shown on
Defined in
index.esm.d.ts:2702 (opens new window)
dataIndex
• dataIndex: number
Index of this data item in the dataset
Defined in
dataset
• dataset: UnionToIntersection
<<TType
, DistributiveArray
<ChartTypeRegistry[]["defaultDataPoint"
]>>>
The dataset the item comes from
Defined in
index.esm.d.ts:2727 (opens new window)
Index of the dataset the item comes from
Defined in
index.esm.d.ts:2732 (opens new window)
element
• element: Element<AnyObject
, AnyObject
>
The chart element (point, arc, bar, etc.) for this tooltip item
Defined in
index.esm.d.ts:2742 (opens new window)
formattedValue
• formattedValue: string
Formatted value for the tooltip
Defined in
Label for the tooltip
Defined in
parsed
• parsed: <<TType
>>
Parsed data values for the given dataIndex
and datasetIndex
Defined in
raw
• raw: unknown
Raw data values for the given dataIndex
and datasetIndex