Syncfusion AI Assistant

How can I help you?

Tooltip in TypeScript 3D Circular Chart control

The 3D Circular Chart will display details about the points through a tooltip, when the mouse is moved over a specific point. By default, the tooltip is not visible. It can be enabled by using the enable property in tooltip to true.

To use tooltip feature, inject the CircularChartTooltip3D using the CircularChart3D.Inject(CircularChartTooltip3D) method.

You can specify a header for the tooltip by using the header property in tooltip.

Format

By default, the tooltip shows information about the x and y values in points. Additionally, more information can be displayed in the tooltip by using the format property. For example, the format ${series.name} : ${point.x} shows the series name and the point’s x value.

Tooltip template

Any HTML elements can be displayed in the tooltip by using the template property in the tooltip.

Fixed tooltip

By default, the tooltip tracks the mouse movement, but it can be set to a fixed position using the location property in tooltip.

Customization

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. Additionally, the highlightColor property can be used to change the color of the data point when hovering.

Customization of individual tooltip

Using the tooltipRender event, you can customize tooltip values for a particular point.