Skip to content

chartjs-chart-geo / IProjectionScaleOptions

Interface: IProjectionScaleOptions ​

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/ProjectionScale.ts:49

Extends ​

  • CoreScaleOptions

Properties ​

padding ​

padding: number | { bottom: number; left: number; right: number; top: number; }

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/ProjectionScale.ts:84

padding applied during auto scaling of the map in pixels i.e. the chart size is reduce by the padding before fitting the map


projection ​

projection: GeoProjection | "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1"

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/ProjectionScale.ts:54

projection method used

Default ​

ts
albersUsa

projectionOffset ​

projectionOffset: [number, number]

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/ProjectionScale.ts:79

extra offset applied after projection


projectionScale ​

projectionScale: number

Defined in: work/chartjs-chart-geo/chartjs-chart-geo/src/scales/ProjectionScale.ts:75

extra scale factor applied to projection