Search results

ColorMappingModel API in JavaScript TreeMap API control

Interface for a class ColorMapping

Properties

color

string | string[]

Sets and gets the color for the color-mapping in treemap.

from

number

Sets and gets the value from which the range of color mapping starts.

label

string

Sets and gets the label text for the legend based on color mapping.

maxOpacity

number

Sets and gets the maximum opacity for the color-mapping in the treemap component.

minOpacity

number

Sets and gets the minimum opacity for the color-mapping in the treemap component.

showLegend

boolean

Enables or disables the visibility of the legend for color mapping in the treemap component.

to

number

Sets and gets the value to which the range of color mapping ends.

value

string | number

Sets and gets the value for the color-mapping from the data source.