# インターフェース: TooltipModel<TType>
# 型パラメータ
| 名前 | 型 |
|---|---|
TType | extends ChartType |
# 階層
default<AnyObject,TooltipOptions<TType>>↳
TooltipModel
# プロパティ
# $animations
• $animations: Record<string, Animation>
# 継承元
Element.$animations
# 定義場所
core/core.element.ts:15 (新しいウィンドウで開きます)
# active
• active: boolean = false
# 継承元
Element.active
# 定義場所
core/core.element.ts:13 (新しいウィンドウで開きます)
# afterBody
• afterBody: string[]
# 定義場所
types/index.d.ts:2609 (新しいウィンドウで開きます)
# beforeBody
• beforeBody: string[]
# 定義場所
types/index.d.ts:2607 (新しいウィンドウで開きます)
# body
• body: { after: string[] ; before: string[] ; lines: string[] }[]
# 定義場所
types/index.d.ts:2605 (新しいウィンドウで開きます)
# caretX
• caretX: number
# 定義場所
types/index.d.ts:2596 (新しいウィンドウで開きます)
# caretY
• caretY: number
# 定義場所
types/index.d.ts:2597 (新しいウィンドウで開きます)
# chart
• Readonly chart: Chart<TType, DistributiveArray<ChartTypeRegistry[TType]["defaultDataPoint"]>, unknown>
# 定義場所
types/index.d.ts:2581 (新しいウィンドウで開きます)
# dataPoints
• dataPoints: TooltipItem<TType>[]
# 定義場所
types/index.d.ts:2584 (新しいウィンドウで開きます)
# footer
• footer: string[]
# 定義場所
types/index.d.ts:2617 (新しいウィンドウで開く)
# height
• height: number
# 定義元
types/index.d.ts:2594 (新しいウィンドウで開く)
# labelColors
• labelColors: TooltipLabelStyle[]
# 定義元
types/index.d.ts:2620 (新しいウィンドウで開く)
# labelPointStyles
• labelPointStyles: { pointStyle: PointStyle ; rotation: number }[]
# 定義元
types/index.d.ts:2622 (新しいウィンドウで開く)
# labelTextColors
• labelTextColors: Color[]
# 定義元
types/index.d.ts:2621 (新しいウィンドウで開く)
# opacity
• opacity: number
# 定義元
types/index.d.ts:2625 (新しいウィンドウで開く)
# options
• options: TooltipOptions<TType>
# オーバーライド
Element.options
# 定義元
types/index.d.ts:2628 (新しいウィンドウで開く)
# title
• title: string[]
# 定義元
types/index.d.ts:2613 (新しいウィンドウで開く)
# width
• width: number
# 定義元
types/index.d.ts:2593 (新しいウィンドウで開く)
# x
• x: number
# オーバーライド
Element.x
# 定義元
types/index.d.ts:2591 (新しいウィンドウで開く)
# xAlign
• xAlign: TooltipXAlignment
# 定義元
types/index.d.ts:2587 (新しいウィンドウで開く)
# y
• y: number
# オーバーライド
Element.y
# 定義元
types/index.d.ts:2592 (新しいウィンドウで開く)
# yAlign
• yAlign: TooltipYAlignment
# 定義元
types/index.d.ts:2588 (新しいウィンドウで開く)
# メソッド
# getActiveElements
▸ getActiveElements(): ActiveElement[]
# 戻り値
# 定義元
types/index.d.ts:2630 (新しいウィンドウで開く)
# getProps
▸ getProps<P>(props, final?): Pick<AnyObject, P[number]>
各プロパティの現在値または最終値を取得します。追加のプロパティ(オブジェクト全体)を返すことができます。
# 型パラメータ
| 名前 | 型 |
|---|---|
P | extends string[] |
# パラメータ
| 名前 | 型 | 説明 |
|---|---|---|
props | P | 取得するプロパティ |
final? | boolean | 最終値(アニメーションのターゲット)を取得します。 |
# 戻り値
Pick<AnyObject, P[number]>
# 継承元
Element.getProps
# 定義元
core/core.element.ts:31 (新しいウィンドウで開く)
▸ getProps<P>(props, final?): Partial<Record<P, unknown>>
# 型パラメータ
| 名前 | 型 |
|---|---|
P | extends string |
# パラメータ
| 名前 | 型 |
|---|---|
props | P[] |
final? | boolean |
# 戻り値
Partial<Record<P, unknown>>
# 継承元
Element.getProps
# 定義元
core/core.element.ts:32 (新しいウィンドウで開く)
# hasValue
▸ hasValue(): boolean
# 戻り値
boolean
# 継承元
Element.hasValue
# 定義元
core/core.element.ts:22 (新しいウィンドウで開く)
# setActiveElements
▸ setActiveElements(active, eventPosition): void
# パラメータ
| 名前 | 型 |
|---|---|
active | ActiveDataPoint[] |
eventPosition | Point |
# 戻り値
void
# 定義元
types/index.d.ts:2631 (新しいウィンドウで開きます)
# tooltipPosition
▸ tooltipPosition(useFinalPosition): Point
# パラメータ
| 名前 | 型 |
|---|---|
useFinalPosition | boolean |
# 戻り値
# 継承元
Element.tooltipPosition