ColorMappingSettingsModel

12 Sep 20251 minute to read

Interface for a class ColorMappingSettings

Properties

color string|string[]

Gets or sets the color for the color-mapping in maps.

from number

Gets or sets the value from where the range for the color-mapping starts.

label string

Gets or sets the label for the color-mapping to display in the legend item text.

maxOpacity number

Gets or sets the maximum opacity for the color-mapping in maps.

minOpacity number

Gets or sets the minimum opacity for the color-mapping in maps.

showLegend boolean

Enables or disables the visibility of legend for the corresponding color-mapped shapes in maps.

to number

Gets or sets the value to where the range for the color-mapping ends.

value string

Gets or sets the value from the data source to map the corresponding colors to the shapes.