# Interface: Registry
Please use the module's default export which provides a singleton instance Note: class is exported for typedoc
# Properties
# controllers
• Readonly
controllers: TypedRegistry
<DatasetController
<keyof ChartTypeRegistry
, default
<AnyObject
, AnyObject
>, default
<AnyObject
, AnyObject
>, number
| CartesianParsedData
| BarParsedData
| BubbleParsedData
| RadialParsedData
>>
# Defined in
types/index.d.ts:1132 (opens new window)
# elements
• Readonly
elements: TypedRegistry
<default
<AnyObject
, AnyObject
>>
# Defined in
types/index.d.ts:1133 (opens new window)
# plugins
• Readonly
plugins: TypedRegistry
<Plugin
<keyof ChartTypeRegistry
, AnyObject
>>
# Defined in
types/index.d.ts:1134 (opens new window)
# scales
• Readonly
scales: TypedRegistry
<Scale
<CoreScaleOptions
>>
# Defined in
types/index.d.ts:1135 (opens new window)
# Methods
# add
▸ add(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1137 (opens new window)
# addControllers
▸ addControllers(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1140 (opens new window)
# addElements
▸ addElements(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1141 (opens new window)
# addPlugins
▸ addPlugins(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1142 (opens new window)
# addScales
▸ addScales(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1143 (opens new window)
# getController
▸ getController(id
): DatasetController
<keyof ChartTypeRegistry
, default
<AnyObject
, AnyObject
>, default
<AnyObject
, AnyObject
>, number
| CartesianParsedData
| BarParsedData
| BubbleParsedData
| RadialParsedData
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
DatasetController
<keyof ChartTypeRegistry
, default
<AnyObject
, AnyObject
>, default
<AnyObject
, AnyObject
>, number
| CartesianParsedData
| BarParsedData
| BubbleParsedData
| RadialParsedData
>
# Defined in
types/index.d.ts:1145 (opens new window)
# getElement
▸ getElement(id
): default
<AnyObject
, AnyObject
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
default
<AnyObject
, AnyObject
>
# Defined in
types/index.d.ts:1146 (opens new window)
# getPlugin
▸ getPlugin(id
): Plugin
<keyof ChartTypeRegistry
, AnyObject
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
Plugin
<keyof ChartTypeRegistry
, AnyObject
>
# Defined in
types/index.d.ts:1147 (opens new window)
# getScale
▸ getScale(id
): Scale
<CoreScaleOptions
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
# Defined in
types/index.d.ts:1148 (opens new window)
# remove
▸ remove(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void