API / geotoolkit / charts / ChartRegistry / ChartRegistry
charts.ChartRegistry.ChartRegistry
This class provides registry of charts (geotoolkit.charts.AbstractChart).
Constructors
Methods
▸ createChart(options): AbstractChart
Creates chart with given type and options
| Name | Type | Description |
|---|---|---|
options | ChartOptions | chart options |
▸ getClassName(): string
string
▸ register(type, Chart): ChartRegistry
Register chart in registry
| Name | Type | Description |
|---|---|---|
type | ChartType | chart type |
Chart | (options?: any) => AbstractChart | chart class |
this
▸ Static getClassName(): string
string
▸ Static getInstance(): ChartRegistry
Returns the default registry instance