HighchartsMapSeriesDataOptions class
An array of data points for the series. For the map
series type, points can
be given in the following ways:
-
An array of numerical values. In this case, the numerical values will be interpreted as
value
options. Example: -
An array of arrays with 2 values. In this case, the values correspond to
[hc-key, value]
. Example: -
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.
API Docs: https://api.highcharts.com/highmaps/series.map.data
- Inheritance
-
- Object
- HighchartsOptionsBase
- HighchartsMapSeriesDataOptions
Constructors
- HighchartsMapSeriesDataOptions.new({String? color, dynamic dataLabels, String? drilldown, HighchartsMapSeriesDataEventsOptions? events, HighchartsMapSeriesDataGeometryOptions? geometry, String? id, double? labelrank, double? middleX, double? middleY, String? name, String? path, double? value})
-
An array of data points for the series. For the
map
series type, points can be given in the following ways:
Properties
- color ↔ String?
-
Individual color for the point. By default the color is either used
to denote the value, or pulled from the global
colors
array.getter/setter pair - dataLabels ↔ dynamic
-
Individual data label for each point. The options are the same as
the ones for plotOptions.series.dataLabels.
getter/setter pair
- drilldown ↔ String?
-
The
id
of a series in the drilldown.series array to use for a drilldown for this point.getter/setter pair - events ↔ HighchartsMapSeriesDataEventsOptions?
-
Individual point events
getter/setter pair
- geometry ↔ HighchartsMapSeriesDataGeometryOptions?
-
For map and mapline series types, the geometry of a point.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
An id for the point. This can be used after render time to get a
pointer to the point object through
chart.get()
.getter/setter pair - labelrank ↔ double?
-
When data labels are laid out on a map, Highmaps runs a simplified
algorithm to detect collision. When two labels collide, the one with
the lowest rank is hidden. By default the rank is computed from the
area.
getter/setter pair
- middleX ↔ double?
-
The relative mid point of an area, used to place the data label.
Ranges from 0 to 1. When
mapData
is used, middleX can be defined there.getter/setter pair - middleY ↔ double?
-
The relative mid point of an area, used to place the data label.
Ranges from 0 to 1. When
mapData
is used, middleY can be defined there.getter/setter pair - name ↔ String?
-
The name of the point as shown in the legend, tooltip, dataLabel
etc.
getter/setter pair
- path ↔ String?
-
For map and mapline series types, the SVG path for the shape. For
compatibility with old IE, not all SVG path definitions are supported,
but M, L and C operators are safe.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ double?
-
The numeric value of the data point.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → String -
Serializes the settings to a JSON string.
inherited
-
toOptionsJSON(
StringBuffer buffer) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited