ColorMappingSettings
12 Sep 20251 minute to read
Gets or sets the options to customize the color-mapping in maps.
Properties
color string|string[]
Gets or sets the color for the color-mapping in maps.
Defaults to null
from number
Gets or sets the value from where the range for the color-mapping starts.
Defaults to null
label string
Gets or sets the label for the color-mapping to display in the legend item text.
Defaults to null
maxOpacity number
Gets or sets the maximum opacity for the color-mapping in maps.
Defaults to null
minOpacity number
Gets or sets the minimum opacity for the color-mapping in maps.
Defaults to null
showLegend boolean
Enables or disables the visibility of legend for the corresponding color-mapped shapes in maps.
Defaults to true
to number
Gets or sets the value to where the range for the color-mapping ends.
Defaults to null
value string
Gets or sets the value from the data source to map the corresponding colors to the shapes.
Defaults to null