# Interface: TooltipDatasetCallbacks<TType, Model, Item>
# Type parameters
| Name | Type |
|---|---|
TType | extends ChartType |
Model | TooltipModel<TType> |
Item | TooltipItem<TType> |
# Hierarchy
TooltipDatasetCallbacks
# Methods
# afterLabel
▸ afterLabel(this, tooltipItem): string | void | string[]
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
string | void | string[]
# Defined in
types/index.d.ts:2687 (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:2685 (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:2686 (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:2689 (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:2691 (opens new window)
# labelTextColor
▸ labelTextColor(this, tooltipItem): void | Color
# Parameters
| Name | Type |
|---|---|
this | Model |
tooltipItem | Item |
# Returns
void | Color