# 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
# elements
• Readonly
elements: TypedRegistry
<default
<AnyObject
, AnyObject
>>
# Defined in
types/index.d.ts:1133
# plugins
• Readonly
plugins: TypedRegistry
<Plugin
<keyof ChartTypeRegistry
, AnyObject
>>
# Defined in
types/index.d.ts:1134
# scales
• Readonly
scales: TypedRegistry
<Scale
<CoreScaleOptions
>>
# Defined in
types/index.d.ts:1135
# Methods
# add
▸ add(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1137
# addControllers
▸ addControllers(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1140
# addElements
▸ addElements(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1141
# addPlugins
▸ addPlugins(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1142
# addScales
▸ addScales(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1143
# 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
# getElement
▸ getElement(id
): default
<AnyObject
, AnyObject
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
default
<AnyObject
, AnyObject
>
# Defined in
types/index.d.ts:1146
# getPlugin
▸ getPlugin(id
): Plugin
<keyof ChartTypeRegistry
, AnyObject
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
Plugin
<keyof ChartTypeRegistry
, AnyObject
>
# Defined in
types/index.d.ts:1147
# getScale
▸ getScale(id
): Scale
<CoreScaleOptions
>
# Parameters
Name | Type |
---|---|
id | string |
# Returns
# Defined in
types/index.d.ts:1148
# remove
▸ remove(...args
): void
# Parameters
Name | Type |
---|---|
...args | ChartComponentLike [] |
# Returns
void
# Defined in
types/index.d.ts:1138