# インターフェース: BarElement<T, O>
# 型パラメータ
| 名前 | 型 | 
|---|---|
| T | extends BarProps=BarProps | 
| O | extends BarOptions=BarOptions | 
# 階層
- default<- T,- O>
-  ↳ BarElement
# プロパティ
# $animations
• $animations: Record<keyof T, Animation>
# 継承元
Element.$animations
# 定義元
core/core.element.ts:15 (新しいウィンドウで開きます)
# active
• active: boolean = false
# 継承元
Element.active
# 定義元
core/core.element.ts:13 (新しいウィンドウで開きます)
# options
• options: O
# 継承元
Element.options
# 定義元
core/core.element.ts:14 (新しいウィンドウで開きます)
# x
• x: number
# 継承元
Element.x
# 定義元
core/core.element.ts:11 (新しいウィンドウで開きます)
# y
• y: number
# 継承元
Element.y
# 定義元
core/core.element.ts:12 (新しいウィンドウで開きます)
# メソッド
# draw
▸ draw(ctx, area?): void
# パラメータ
| 名前 | 型 | 
|---|---|
| ctx | CanvasRenderingContext2D | 
| area? | ChartArea | 
# 戻り値
void
# 継承元
# 定義元
types/index.d.ts:1796 (新しいウィンドウで開きます)
# getCenterPoint
▸ getCenterPoint(useFinalPosition?): Point
# パラメータ
| 名前 | 型 | 
|---|---|
| useFinalPosition? | boolean | 
# 戻り値
# 継承元
# 定義元
types/index.d.ts:1800 (新しいウィンドウで開きます)
# getProps
▸ getProps<P>(props, final?): Pick<T, P[number]>
各プロパティの現在値または最終値を取得します。(オブジェクト全体などの)追加のプロパティを返すことができます。
# 型パラメータ
| 名前 | 型 | 
|---|---|
| P | extends keyof T[] | 
# パラメータ
| 名前 | 型 | 説明 | 
|---|---|---|
| props | P | 取得するプロパティ | 
| final? | boolean | 最終値(アニメーションのターゲット)を取得します | 
# 戻り値
Pick<T, 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 (新しいウィンドウで開きます)
# getRange
▸ Optional getRange(axis): number
# パラメータ
| 名前 | 型 | 
|---|---|
| axis | "x"|"y" | 
# 戻り値
number
# 継承元
# 定義元
types/index.d.ts:1801 (新しいウィンドウで開きます)
# hasValue
▸ hasValue(): boolean
# 戻り値
boolean
# 継承元
Element.hasValue
# 定義元
core/core.element.ts:22 (新しいウィンドウで開きます)
# inRange
▸ inRange(mouseX, mouseY, useFinalPosition?): boolean
# パラメータ
| 名前 | 型 | 
|---|---|
| mouseX | number | 
| mouseY | number | 
| useFinalPosition? | boolean | 
# 戻り値
boolean
# 継承元
# 定義元
types/index.d.ts:1797 (新しいウィンドウで開きます)
# inXRange
▸ inXRange(mouseX, useFinalPosition?): boolean
# パラメータ
| 名前 | 型 | 
|---|---|
| mouseX | number | 
| useFinalPosition? | boolean | 
# 戻り値
boolean
# 継承元
# 定義元
types/index.d.ts:1798 (新しいウィンドウで開きます)
# inYRange
▸ inYRange(mouseY, useFinalPosition?): boolean
# パラメータ
| 名前 | 型 | 
|---|---|
| mouseY | number | 
| useFinalPosition? | boolean | 
# 戻り値
boolean
# 継承元
# 定義元
types/index.d.ts:1799 (新しいウィンドウで開きます)
# tooltipPosition
▸ tooltipPosition(useFinalPosition): Point
# パラメータ
| 名前 | 型 | 
|---|---|
| useFinalPosition | boolean | 
# 戻り値
# 継承元
Element.tooltipPosition