TooltipSettings

23 Sep 20251 minute to read

Sets and gets the options for customizing the tooltip of the treemap.

Properties

border BorderModel

Sets and gets the options for customizing the color and width of the border of the tooltip.

fill string

Sets and gets the background color of tooltip in the treemap.

Defaults to null

format string

Sets and gets the string to format the tooltip in the treemap.

Defaults to null

opacity number

Sets and gets the opacity of tooltip in the treemap.

Defaults to 0.75

template string|Function

Sets and gets the template for tooltip in the treemap.

Defaults to ’’

textStyle FontModel

Sets and gets the options for customizing the text style of tooltip of the treemap.

visible boolean

Enables or disables the visibility of the tooltip in the treemap.

Defaults to false