Search results

Static Functions API in JavaScript TreeMap API control

Root static functions of Treemap Component


Method to calculate x position of title

Parameter Type Description
location Rect Specifies the location of text.
alignment string Specifies the alignment of the text.
textSize Size Specifies the size of the text.
type string Specifies whether the provided text is title or subtitle.

Returns Location


hide function

Parameter Type Description
maxWidth number Specifies the maximum width.
maxHeight number Specifies the maximum height.
text string Specifies the text.
font FontModel Specifies the font.

Returns string


To trigger the download element

Parameter Type Description
fileName string Specifies the file name
type string Specifies the type
url string Specifies the url
isDownload boolean Specifies the boolean value

Returns void