Syncfusion AI Assistant

How can I help you?

Tooltip in TypeScript Heatmap chart control

Tooltip is used to provide the details of the heat map cell, and this can be displayed, while hovering the cursor over the cell or performing tap action in touch devices.

Default Tooltip

You can enable the tooltip by setting the showTooltip property to true and injecting the Tooltip module using the HeatMap.Inject(Tooltip).

Tooltip template

In heat map, you can customize the tooltip using the tooltipRender client-side event.

Customize the appearance of Tooltip

The fill and border properties are used to customize the background color and border of the tooltip respectively. The textStyle property in the tooltip is used to customize the font of the tooltip text.

Note: To use tooltip feature, we need to inject Tooltip using HeatMap.Inject(Tooltip).