@carbon/charts

    Class GeoProjection

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    configs: any = {}
    id: string = ''
    model: ChartModel
    parent: Selection<SVGGraphicsElement | HTMLDivElement, any, HTMLElement, any> = undefined
    renderType: RenderTypes = RenderTypes.SVG
    services: Services
    type: string = 'geo'

    Methods

    • Parameters

      • configs: { ariaLabel?: string; isPresentational?: boolean; withinChartClip?: boolean } = ...

      Returns Selection<any, any, Element, any>

    • graphs used in combo charts share a model with global options but can receive their own local options. this function retrieves the global options and merges it with any options passed into this component's config.options object.

      Returns any

    • Retrieves the D3 geographic projection based on the options provided.

      This method selects a geographic projection from the available D3 projections based on the projection property in the thematic options. If the projection is not supported or is missing, an error is thrown.

      Returns any

      • The D3 geographic projection corresponding to the selected option.

      If the projection is not supported or is missing.

    MMNEPVFCICPMFPCPTTAAATR