Search results

LeafItemSettings API in JavaScript (ES5) TreeMap API control

Sets and gets the options for customizing the leaf item of the treemap component.

Properties

autoFill

boolean

Enables or disables automatic filling of colors in leaf items of the treemap component.

Defaults to false

border

BorderModel

Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap component.

colorMapping

ColorMappingModel[]

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

fill

string

Sets and gets the fill color of leaf items in the treemap component.

Defaults to null

gap

number

Sets and gets the gap between the leaf item in the treemap component.

Defaults to 0

interSectAction

string

Sets and gets the label intersect action of leaf item in the treemap component.

Defaults to ‘Trim’

labelFormat

string

Sets and gets the label text format of leaf item in the treemap component.

Defaults to null

labelPath

string

Sets and gets the value path from the data source for label of leaf item in the treemap component.

Defaults to null

labelPosition

string

Sets and gets the position of the labels in the treemap component.

Defaults to ‘TopLeft’

labelStyle

FontModel

Sets and gets the style of the labels of leaf item in the treemap component.

labelTemplate

string

Sets and gets the label template of leaf item in the treemap component.

Defaults to null

opacity

number

Sets and gets the opacity of leaf item in the treemap component.

Defaults to 1

padding

number

Sets and gets the padding of leaf item in the treemap component.

Defaults to 10

showLabels

boolean

Shows or hides the labels in the treemap component.

Defaults to true

templatePosition

string

Sets and gets the position of the template of leaf item in the treemap component.

Defaults to ‘Center’