Interface: TooltipModel<TType>
Defined in
beforeBody
• beforeBody: string
[]
Defined in
index.esm.d.ts:2430 (opens new window)
body
• body: { after
: string
[] ; before
: string
[] ; lines
: string
[] }[]
Defined in
caretX
• caretX: number
Defined in
index.esm.d.ts:2419 (opens new window)
caretY
• caretY: number
Defined in
dataPoints
• dataPoints: <>[]
Defined in
footer
• footer: string
[]
Defined in
index.esm.d.ts:2440 (opens new window)
Defined in
index.esm.d.ts:2417 (opens new window)
labelColors
• labelColors: TooltipLabelStyle[]
Defined in
index.esm.d.ts:2443 (opens new window)
labelPointStyles
• labelPointStyles: { pointStyle
: PointStyle ; rotation
: number
}[]
Defined in
index.esm.d.ts:2445 (opens new window)
labelTextColors
• labelTextColors: Color[]
Defined in
index.esm.d.ts:2444 (opens new window)
opacity
• opacity: number
Defined in
options
• options: <TType
>
Defined in
title
• title: string
[]
Defined in
index.esm.d.ts:2436 (opens new window)
Defined in
index.esm.d.ts:2416 (opens new window)
x
• x: number
Defined in
xAlign
• xAlign:
Defined in
y
• y:
Defined in
index.esm.d.ts:2415 (opens new window)
yAlign
• yAlign: TooltipYAlignment
Defined in
index.esm.d.ts:2411 (opens new window)
getActiveElements
▸ getActiveElements(): ActiveElement[]
Returns
Defined in
index.esm.d.ts:2453 (opens new window)
setActiveElements
▸ setActiveElements(active
, eventPosition
): void
Parameters
Name | Type |
---|---|
active | [] |
eventPosition | Object |
eventPosition.x | number |
eventPosition.y | number |