Api leafItemSettings in TypeScript Treemap control
18 Nov 20181 minute to read
Properties
autoFill boolean
Items rendering with random colors.
Defaults to false
border BorderModel
Specifies the border
colorMapping ColorMappingModel[]
Specifies the colorMapping
fill string
Specifies the fill color for leaf items.
Defaults to ‘#808080’
gap number
Specifies the item gap.
Defaults to 0
interSectAction string
Specifies the label intersect action.
Defaults to ‘Trim’
labelFormat string
Specifies the label format.
Defaults to null
labelPath string
Specifies the field name from the dataSource.
Defaults to null
labelPosition string
Specifies the alignment of label.
Defaults to ‘TopLeft’
labelStyle FontModel
Customize the label style.
labelTemplate string
Specifies the label template.
Defaults to null
opacity number
Specifies the opacity for color.
Defaults to 1
padding number
Specifies the padding.
Defaults to 10
showLabels boolean
To show or hide the labels
Defaults to true
templatePosition string
Specifies the alignment of template.
Defaults to ‘Center’