stz-util Documentation - v1.5.2
Preparing search index...
ChartFactory
Class ChartFactory
Index
Constructors
constructor
Properties
registry
Methods
clear
create
has
register
Constructors
constructor
new
ChartFactory
()
:
ChartFactory
Returns
ChartFactory
Properties
Private
Static
registry
registry
:
Map
<
string
,
Constructor
<
any
,
any
>
>
= ...
Methods
Static
clear
clear
()
:
void
Returns
void
Static
create
create
<
TType
extends
keyof
ChartTypeRegistry
>
(
type
:
TType
,
labels
:
(
string
|
number
)
[]
,
datasets
:
ChartDataset
<
TType
,
(
null
|
number
)
[]
>
[]
,
options
?:
CustomChartOptions
<
TType
>
,
plugins
?:
any
,
)
:
any
Type Parameters
TType
extends
keyof
ChartTypeRegistry
Parameters
type
:
TType
labels
: (
string
|
number
)
[]
datasets
:
ChartDataset
<
TType
,
(
null
|
number
)
[]
>
[]
Optional
options
:
CustomChartOptions
<
TType
>
Optional
plugins
:
any
Returns
any
Static
has
has
(
type
:
keyof
ChartTypeRegistry
)
:
boolean
Parameters
type
:
keyof
ChartTypeRegistry
Returns
boolean
Static
register
register
<
TType
extends
keyof
ChartTypeRegistry
,
TInstance
>
(
type
:
TType
,
wrapperClass
:
Constructor
<
TType
,
TInstance
>
,
)
:
void
Type Parameters
TType
extends
keyof
ChartTypeRegistry
TInstance
Parameters
type
:
TType
wrapperClass
:
Constructor
<
TType
,
TInstance
>
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
registry
Methods
clear
create
has
register
stz-util Documentation - v1.5.2
Loading...