Skip to content

chartjs-chart-geo / GeoController

Class: GeoController<TYPE, TElement>

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:54

Extends

Extended by

Type Parameters

TYPE

TYPE extends keyof ChartTypeRegistry

TElement

TElement extends Element & VisualElement

Constructors

Constructor

new GeoController<TYPE, TElement>(chart, datasetIndex): GeoController<TYPE, TElement>

Defined in: .yarn/berry/cache/chart.js-npm-4.5.0-e95c375db8-10c0.zip/node_modules/chart.js/dist/types/index.d.ts:598

Parameters

chart

Chart

datasetIndex

number

Returns

GeoController<TYPE, TElement>

Inherited from

DatasetController<TYPE, TElement, GeoFeature>.constructor

Methods

clipMap()

clipMap(): boolean | "outline" | "graticule" | "outline+graticule" | "items"

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:87

Returns

boolean | "outline" | "graticule" | "outline+graticule" | "items"


draw()

draw(): void

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:177

Returns

void

Overrides

DatasetController.draw


getGeoDataset()

getGeoDataset(): ChartDataset<"choropleth" | "bubbleMap"> & IGeoControllerDatasetOptions

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:58

Returns

ChartDataset<"choropleth" | "bubbleMap"> & IGeoControllerDatasetOptions


getGeoOptions()

getGeoOptions(): IGeoChartOptions

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:62

Returns

IGeoChartOptions


getGraticule()

getGraticule(): boolean | { stepMajor: [number, number]; stepMinor: [number, number]; }

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:91

Returns

boolean | { stepMajor: [number, number]; stepMinor: [number, number]; }


getProjectionScale()

getProjectionScale(): ProjectionScale

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:66

Returns

ProjectionScale


linkScales()

linkScales(): void

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:70

Returns

void

Overrides

DatasetController.linkScales


resolveOutline()

resolveOutline(): any

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:131

Returns

any


showGraticule()

showGraticule(): void

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:143

Returns

void


showOutline()

showOutline(): boolean

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:83

Returns

boolean


update()

update(mode): void

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:95

Parameters

mode

"none" | "hide" | "show" | "default" | "active" | "resize" | "reset"

Returns

void

Overrides

DatasetController.update