Kartenregister

registerMap() mit eigenem GeoJSON (einer fiktiven Insel mit vier Bezirken), anschließend über den Namen verwendet.

Chart type
Map map
Tier
Premium
Collection
Maps
Zeichnen
Live im Website-Design
.md ansehen Agenten einrichten
LIVE/maps/registry11 of 27 in Maps

Configuration

Original Standalone
const options = {
  chart: {
    height: 420,
    toolbar: {
      show: false
    },
    type: "map"
  },
  series: [
    {
      name: "Residents",
      data: [
        {
          id: "N",
          value: 1200
        },
        {
          id: "E",
          value: 3400
        },
        {
          id: "S",
          value: 800
        },
        {
          id: "Harbour",
          value: 5100
        }
      ]
    }
  ],
  plotOptions: {
    map: {
      map: "demo-island",
      projection: "equirectangular",
      sphere: false
    }
  },
  theme: {
    mode: "light",
    preset: "coastal"
  }
}

const chart = new WestCoastCharts(document.querySelector('#chart'), options)
chart.render()

This example uses Premium modules. Compare licences · Embedding in a distributed product?