# Interface: TooltipCallbacks<TType, Model, Item>
# Type parameters
| Name | Type |
|---|---|
TType | extends ChartType |
Model | TooltipModel<TType> |
Item | TooltipItem<TType> |
# 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:2643 (opens new window)
# afterFooter
▸ afterFooter(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2655 (opens new window)
# afterLabel
▸ afterLabel(this, tooltipItem): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2647 (opens new window)
# afterTitle
▸ afterTitle(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2640 (opens new window)
# beforeBody
▸ beforeBody(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2642 (opens new window)
# beforeFooter
▸ beforeFooter(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2653 (opens new window)
# beforeLabel
▸ beforeLabel(this, tooltipItem): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2645 (opens new window)
# beforeTitle
▸ beforeTitle(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2638 (opens new window)
# footer
▸ footer(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2654 (opens new window)
# label
▸ label(this, tooltipItem): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2646 (opens new window)
# labelColor
▸ labelColor(this, tooltipItem): void | TooltipLabelStyle
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
void | TooltipLabelStyle
# Defined in
types/index.d.ts:2649 (opens new window)
# labelPointStyle
▸ labelPointStyle(this, tooltipItem): void | { pointStyle: PointStyle ; rotation: number }
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
void | { pointStyle: PointStyle ; rotation: number }
# Defined in
types/index.d.ts:2651 (opens new window)
# labelTextColor
▸ labelTextColor(this, tooltipItem): void | Color
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
void | Color
# Defined in
types/index.d.ts:2650 (opens new window)
# title
▸ title(this, tooltipItems): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItems | Item[] |
# Returns
string | void | string[]
# Defined in
← Tooltip TooltipItem →