# 接口:TooltipCallbacks<TType, Model, Item>
# 类型参数
| 名称 | 类型 |
|---|---|
TType | 继承自 ChartType |
模型 | TooltipModel<TType> |
项 | TooltipItem<TType> |
# 方法
# afterBody
▸ afterBody(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义于
# afterFooter
▸ afterFooter(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义于
# afterLabel
▸ afterLabel(this, tooltipItem): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItem | 项 |
# 返回值
string | void | string[]
# 定义于
# afterTitle
▸ afterTitle(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义于
# beforeBody
▸ beforeBody(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义在
types/index.d.ts:2667 (在新窗口中打开)
# beforeFooter
▸ beforeFooter(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义在
types/index.d.ts:2678 (在新窗口中打开)
# beforeLabel
▸ beforeLabel(this, tooltipItem): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItem | 项 |
# 返回值
string | void | string[]
# 定义在
types/index.d.ts:2670 (在新窗口中打开)
# beforeTitle
▸ beforeTitle(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义在
types/index.d.ts:2663 (在新窗口中打开)
# footer
▸ footer(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义在
types/index.d.ts:2679 (在新窗口中打开)
# label
▸ label(this, tooltipItem): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItem | 项 |
# 返回值
string | void | string[]
# 定义在
types/index.d.ts:2671 (在新窗口中打开)
# 标签颜色
▸ 标签颜色(this, tooltipItem): void | TooltipLabelStyle
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItem | 项 |
# 返回值
void | TooltipLabelStyle
# 定义在
# 标签点样式
▸ 标签点样式(this, tooltipItem): void | { pointStyle: PointStyle ; rotation: number }
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItem | 项 |
# 返回值
void | { pointStyle: PointStyle ; rotation: number }
# 定义在
# 标签文字颜色
▸ 标签文字颜色(this, tooltipItem): void | Color
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItem | 项 |
# 返回值
void | Color
# 定义在
# 标题
▸ 标题(this, tooltipItems): string | void | string[]
# 参数
| 名称 | 类型 |
|---|---|
this | 模型 |
tooltipItems | 项[] |
# 返回值
string | void | string[]
# 定义在
← Tooltip TooltipItem →