API REFERENCE
tooltip
Tooltip settings for pointer-driven values, position, and content.
Definition
| Item | Value |
|---|---|
| JavaScript property | tooltip |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | CartesianTooltipInput | PieChartTooltipInput | GaugeChartTooltipInput | RadarChartTooltipInput | FunnelChartTooltipInput |
| Default | undefined |
| Literals in the type | auto, off |
undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.
- CartesianTooltipInput
Type definition
- PieChartTooltipInput
Type definition
- GaugeChartTooltipInput
Type definition
- RadarChartTooltipInput
Type definition
- FunnelChartTooltipInput
Type definition
Configuration example
// Register sy-line-chart and create the element before configuring it.
chart.tooltip = {
"show": true,
"mode": "shared"
};