# Interface: TooltipCallbacks<TType, Model, Item>

# Type parameters

Name Type
TType extends ChartType
Model TooltipModel<TType>
Item TooltipItem<TType>

# Methods

# afterBody

afterBody(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2547 (opens new window)


# afterFooter

afterFooter(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2559 (opens new window)


# afterLabel

afterLabel(tooltipItem): string | string[]

# Parameters

Name Type
tooltipItem Item

# Returns

string | string[]

# Defined in

index.esm.d.ts:2551 (opens new window)


# afterTitle

afterTitle(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2544 (opens new window)


# beforeBody

beforeBody(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2546 (opens new window)


# beforeFooter

beforeFooter(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2557 (opens new window)


# beforeLabel

beforeLabel(tooltipItem): string | string[]

# Parameters

Name Type
tooltipItem Item

# Returns

string | string[]

# Defined in

index.esm.d.ts:2549 (opens new window)


# beforeTitle

beforeTitle(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2542 (opens new window)


footer(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2558 (opens new window)


# label

label(tooltipItem): string | string[]

# Parameters

Name Type
tooltipItem Item

# Returns

string | string[]

# Defined in

index.esm.d.ts:2550 (opens new window)


# labelColor

labelColor(tooltipItem): TooltipLabelStyle

# Parameters

Name Type
tooltipItem Item

# Returns

TooltipLabelStyle

# Defined in

index.esm.d.ts:2553 (opens new window)


# labelPointStyle

labelPointStyle(tooltipItem): Object

# Parameters

Name Type
tooltipItem Item

# Returns

Object

Name Type
pointStyle PointStyle
rotation number

# Defined in

index.esm.d.ts:2555 (opens new window)


# labelTextColor

labelTextColor(tooltipItem): Color

# Parameters

Name Type
tooltipItem Item

# Returns

Color

# Defined in

index.esm.d.ts:2554 (opens new window)


# title

title(tooltipItems): string | string[]

# Parameters

Name Type
tooltipItems Item[]

# Returns

string | string[]

# Defined in

index.esm.d.ts:2543 (opens new window)