Skip to content

chartjs-chart-geo v4.3.4 / IProjectionScaleOptions

Interface: IProjectionScaleOptions

Extends

  • CoreScaleOptions

Properties

padding

padding: number | object

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

Defined in

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


projection

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

projection method used

Default

ts
albersUsa

Defined in

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


projectionOffset

projectionOffset: [number, number]

extra offset applied after projection

Defined in

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


projectionScale

projectionScale: number

extra scale factor applied to projection

Defined in

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