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.
An array of data points for the series. For the flowmap
series
type, points can be given in the following ways:
An array of arrays with options as values. In this case,
the values correspond to from, to, weight
. Example:
data: [
['Point 1', 'Point 2', 4]
]
An array of objects with named values. The following snippet shows only a few settings, see the complete options set below.
data: [{
from: 'Point 1',
to: 'Point 2',
curveFactor: 0.4,
weight: 5,
growTowards: true,
markerEnd: {
enabled: true,
height: 15,
width: 8
}
}]
For objects with named values, instead of using the mappoint
id
,
you can use [longitude, latitude]
arrays.
data: [{
from: [longitude, latitude],
to: [longitude, latitude]
}]