LevelSettingsModel

23 Sep 20251 minute to read

Interface for a class LevelSettings

Properties

autoFill boolean

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

border BorderModel

Sets and gets the options for customizing the color and width of the border of
the level leaf items of the treemap.

colorMapping ColorMappingModel[]

Sets and gets the options for customizing the color-mapping of the level leaf items in the treemap.

fill string

Sets and gets the fill color of the level leaf item in the treemap.

groupGap number

Sets and gets the gap between the level leaf items in the treemap.

groupPadding number

Sets and gets the padding of level leaf items in the treemap.

groupPath string

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

headerAlignment Alignment

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

headerFormat string

Sets and gets the string to format the header label of the level leaf items in the treemap.

headerHeight number

Sets and gets the height of header in the treemap.

headerStyle FontModel

Sets and gets the options for customizing the text style of header label of the level leaf item.

headerTemplate string|Function

Sets and gets the template for header in the treemap.

opacity number

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

showHeader boolean

Shows or hides the header in level leaf item of the treemap.

templatePosition LabelPosition

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