LeafItemSettingsModel
23 Sep 20251 minute to read
Interface for a class LeafItemSettings
Properties
autoFill boolean
Enables or disables automatic filling of colors from the palette in the leaf items of the treemap.
border BorderModel
Sets and gets the options for customizing the color and width of the border of the leaf item in the treemap.
colorMapping ColorMappingModel[]
Sets and gets the options to customize color-mapping of the treemap leaf items.
fill string
Sets and gets the fill color of leaf items in the treemap.
gap number
Sets and gets the gap between the leaf item in the treemap.
interSectAction LabelAlignment
Sets and gets the actions to perform when labels intersects with other labels in a treemap leaf item.
labelFormat string
Sets and gets the string to format the label text of leaf item in the treemap.
labelPath string
Sets and gets the value path from the data source for label of leaf item in the treemap.
labelPosition LabelPosition
Sets and gets the position of the labels in the treemap.
labelStyle FontModel
Sets and gets the options to customize the style of the labels of treemap leaf item.
labelTemplate string|Function
Sets and gets the label template of leaf item in the treemap to render custom elements in the labels.
opacity number
Sets and gets the opacity of leaf item in the treemap.
padding number
Sets and gets the padding of leaf item in the treemap.
showLabels boolean
Shows or hides the labels in the treemap.
templatePosition LabelPosition
Sets and gets the position of the label template of treemap leaf item.