Search results

ColorMapping API in Vue TreeMap API component

Sets and gets the options to customize the color-mapping in treemap component.

Properties

color

string | string[]

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

Defaults to null

from

number

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

Defaults to null

label

string

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

Defaults to null

maxOpacity

number

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

Defaults to null

minOpacity

number

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

Defaults to null

showLegend

boolean

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

Defaults to true

to

number

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

Defaults to null

value

string | number

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

Defaults to null