# Interface: TooltipCallbacks<TType, Model, Item>
# Type parameters
Name | Type |
---|---|
TType | extends ChartType |
Model | TooltipModel <TType > |
Item | TooltipItem <TType > |
# Hierarchy
TooltipDatasetCallbacks
<TType
,Model
,Item
>↳
TooltipCallbacks
# Methods
# afterBody
▸ afterBody(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2704
# afterFooter
▸ afterFooter(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2716
# afterLabel
▸ afterLabel(this
, tooltipItem
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItem | Item |
# Returns
string
| void
| string
[]
# Overrides
TooltipDatasetCallbacks.afterLabel
# Defined in
types/index.d.ts:2708
# afterTitle
▸ afterTitle(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2701
# beforeBody
▸ beforeBody(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2703
# beforeFooter
▸ beforeFooter(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2714
# beforeLabel
▸ beforeLabel(this
, tooltipItem
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItem | Item |
# Returns
string
| void
| string
[]
# Overrides
TooltipDatasetCallbacks.beforeLabel
# Defined in
types/index.d.ts:2706
# beforeTitle
▸ beforeTitle(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2699
# footer
▸ footer(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2715
# label
▸ label(this
, tooltipItem
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItem | Item |
# Returns
string
| void
| string
[]
# Overrides
# Defined in
types/index.d.ts:2707
# labelColor
▸ labelColor(this
, tooltipItem
): void
| TooltipLabelStyle
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItem | Item |
# Returns
void
| TooltipLabelStyle
# Overrides
TooltipDatasetCallbacks.labelColor
# Defined in
types/index.d.ts:2710
# labelPointStyle
▸ labelPointStyle(this
, tooltipItem
): void
| { pointStyle
: PointStyle
; rotation
: number
}
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItem | Item |
# Returns
void
| { pointStyle
: PointStyle
; rotation
: number
}
# Overrides
TooltipDatasetCallbacks.labelPointStyle
# Defined in
types/index.d.ts:2712
# labelTextColor
▸ labelTextColor(this
, tooltipItem
): void
| Color
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItem | Item |
# Returns
void
| Color
# Overrides
TooltipDatasetCallbacks.labelTextColor
# Defined in
types/index.d.ts:2711
# title
▸ title(this
, tooltipItems
): string
| void
| string
[]
# Parameters
Name | Type |
---|---|
this | Model |
tooltipItems | Item [] |
# Returns
string
| void
| string
[]
# Defined in
types/index.d.ts:2700