chartjs-chart-geo v4.3.4 / GeoController
Class: GeoController<TYPE, TElement>
Extends
DatasetController
<TYPE
,TElement
,GeoFeature
>
Extended by
Type Parameters
• TYPE extends keyof ChartTypeRegistry
• TElement extends Element
& VisualElement
Constructors
new GeoController()
new GeoController<
TYPE
,TElement
>(chart
,datasetIndex
):GeoController
<TYPE
,TElement
>
Parameters
• chart: Chart
<keyof ChartTypeRegistry
, (null
| number
| [number
, number
] | Point
| BubbleDataPoint
| IChoroplethDataPoint
| IBubbleMapDataPoint
)[], unknown
>
• datasetIndex: number
Returns
GeoController
<TYPE
, TElement
>
Inherited from
DatasetController<TYPE, TElement, GeoFeature>.constructor
Defined in
.yarn/berry/cache/chart.js-npm-4.4.6-179caaa878-10c0.zip/node_modules/chart.js/dist/types/index.d.ts:588
Methods
clipMap()
clipMap():
boolean
|"outline"
|"graticule"
|"outline+graticule"
|"items"
Returns
boolean
| "outline"
| "graticule"
| "outline+graticule"
| "items"
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:87
draw()
draw():
void
Returns
void
Overrides
DatasetController.draw
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:177
getGeoDataset()
getGeoDataset():
ChartDataset
<"choropleth"
|"bubbleMap"
> &IGeoControllerDatasetOptions
Returns
ChartDataset
<"choropleth"
| "bubbleMap"
> & IGeoControllerDatasetOptions
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:58
getGeoOptions()
getGeoOptions():
IGeoChartOptions
Returns
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:62
getGraticule()
getGraticule():
boolean
|object
Returns
boolean
| object
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:91
getProjectionScale()
getProjectionScale():
ProjectionScale
Returns
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:66
linkScales()
linkScales():
void
Returns
void
Overrides
DatasetController.linkScales
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:70
resolveOutline()
resolveOutline():
any
Returns
any
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:131
showGraticule()
showGraticule():
void
Returns
void
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:143
showOutline()
showOutline():
boolean
Returns
boolean
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:83
update()
update(
mode
):void
Parameters
• mode: "none"
| "hide"
| "show"
| "default"
| "active"
| "resize"
| "reset"
Returns
void
Overrides
DatasetController.update
Defined in
work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:95