JS API Reference

Welcome to the Highmaps JS Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

series.map.data

An array of data points for the series. For the map series type, points can be given in the following ways:

  1. An array of numerical values. In this case, the numerical values will be interpreted as value options. Example:

    data: [0, 5, 3, 5]
  2. An array of arrays with 2 values. In this case, the values correspond to [hc-key, value]. Example:

    data: [
        ['us-ny', 0],
        ['us-mi', 5],
        ['us-tx', 3],
        ['us-ak', 5]
    ]
  3. An array of objects with named values. The following snippet shows only a few settings, see the complete options set below. If the total number of data points exceeds the series' turboThreshold, this option is not available.

    data: [{
        value: 6,
        name: "Point2",
        color: "#00FF00"
    }, {
        value: 6,
        name: "Point1",
        color: "#FF00FF"
    }]