Search results

LevelSettings API in React TreeMap API component

Sets and gets the options for customizing the levels of the treemap component.

Properties

autoFill

boolean

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

Defaults to false

border

BorderModel

Sets and gets the options for customizing the color and width of the border of the levels of the treemap component.

colorMapping

ColorMappingModel[]

Sets and gets the options for customizing the color-mapping in the treemap component.

fill

string

Sets and gets the fill color of the level in the treemap component.

Defaults to null

groupGap

number

Sets and gets the gap between the levels in the treemap component.

Defaults to 0

groupPadding

number

Sets and gets the padding of levels in the treemap component.

Defaults to 10

groupPath

string

Sets and gets the value path from the data source in the treemap component to render the item.

Defaults to null

headerAlignment

string

Sets and gets the alignment of the header of the treemap component.

Defaults to ‘Near’

headerFormat

string

Sets and gets the format of header of the levels in the treemap component.

Defaults to null

headerHeight

number

Sets and gets the height of header in the treemap component.

Defaults to 20

headerStyle

FontModel

Sets and gets the options for customizing the style of header of the treemap component.

headerTemplate

string

Sets and gets the template for header in the treemap component.

Defaults to null

opacity

number

Sets and gets the opacity in the treemap component.

Defaults to 1

showHeader

boolean

Shows or hides the header in level of the treemap component.

Defaults to true

templatePosition

string

Sets and gets the options for customizing the template position of the treemap component.

Defaults to ‘TopLeft’