Interface for a class Chart3DTooltipSettings
Options for customizing the tooltip borders.
number
Duration for the Tooltip animation.
boolean
If set to true, enables the tooltip for the data points.
boolean
If set to true, tooltip will animate while moving from one point to another.
boolean
If set to true, enables the marker in the chart tooltip.
boolean
To wrap the tooltip long text based on available space. This is only application for chart tooltip.
number
Duration of the fade-out animation for hiding the Tooltip.
Fade Out duration for the Tooltip hide.
string
The fill color of the tooltip, specified as a valid CSS color string in hex or rgba format.
string
The format for customizing the tooltip content.
string
The header text for the tooltip. By default, it displays the series name.
Specifies the location of the tooltip, relative to the chart. If x is 20, tooltip moves by 20 pixels to the right of the chart
<div id='Chart'></div>
let chart: Chart = new Chart({
...
tooltipSettings: {
enable: true,
location: { x: 100, y: 150 },
},
...
});
chart.appendTo('#Chart');
number
The opacity of the tooltip, expressed as a numerical value.
string
| Function
A custom template used to format the Tooltip content. You can use ${x} and ${y} as placeholder text to display the corresponding data points.
Options for customizing the tooltip text appearance.