Api levelSettings in TypeScript Treemap control
18 Nov 20181 minute to read
Options for customizing the tree map levels.
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 background of level.
Defaults to ‘#808080’
groupGap number
Specifies the padding.
Defaults to 0
groupPadding number
Specifies the padding.
Defaults to 10
groupPath string
Specifies the field name from the dataSource.
Defaults to null
headerAlignment string
Customize the text alignment
Defaults to ‘Near’
headerFormat string
Specifies the header format.
Defaults to null
headerHeight number
To specifies the height of header.
Defaults to 20
headerStyle FontModel
Customize the header style.
headerTemplate string
Specifies the template for header rendering.
Defaults to null
opacity number
Specifies the opacity for color.
Defaults to 1
showHeader boolean
To Show or hide the header in level.
Defaults to true
templatePosition string
Specifies the label position in level.
Defaults to ‘TopLeft’