chartjs-chart-geo / ChoroplethController
Class: ChoroplethController
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:21
Extends
GeoController<"choropleth",GeoFeature>
Constructors
Constructor
new ChoroplethController(
chart,datasetIndex):ChoroplethController
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
ChoroplethController
Inherited from
Properties
id
readonlystaticid:"choropleth"='choropleth'
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:95
Methods
_getOtherScale()
_getOtherScale(
scale):Scale
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:44
Parameters
scale
Scale
Returns
Scale
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"
Inherited from
draw()
draw():
void
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:177
Returns
void
Inherited from
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
Inherited from
getGeoOptions()
getGeoOptions():
IGeoChartOptions
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:62
Returns
Inherited from
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]; }
Inherited from
getProjectionScale()
getProjectionScale():
ProjectionScale
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:66
Returns
Inherited from
GeoController.getProjectionScale
indexToColor()
indexToColor(
index):string
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:90
Parameters
index
number
Returns
string
initialize()
initialize():
void
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:22
Returns
void
Overrides
GeoController.initialize
linkScales()
linkScales():
void
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:27
Returns
void
Overrides
parse()
parse(
start,count):void
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:49
Parameters
start
number
count
number
Returns
void
Overrides
GeoController.parse
resolveOutline()
resolveOutline():
any
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:131
Returns
any
Inherited from
showGraticule()
showGraticule():
void
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:143
Returns
void
Inherited from
showOutline()
showOutline():
boolean
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/GeoController.ts:83
Returns
boolean
Inherited from
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
Inherited from
updateElements()
updateElements(
elems,start,count,mode):void
Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/controllers/ChoroplethController.ts:60
Parameters
elems
start
number
count
number
mode
"none" | "hide" | "show" | "default" | "active" | "resize" | "reset"
Returns
void
Overrides
GeoController.updateElements