Search results

ColorMappingModel API in React TreeMap API component

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 when it is rendered based on color mapping.

maxOpacity

number

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

minOpacity

number

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

showLegend

boolean

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

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.