API REFERENCE

tooltip

Tooltip settings for pointer-driven values, position, and content.

Definition

ItemValue
JavaScript propertytooltip
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeCartesianTooltipInput | PieChartTooltipInput | GaugeChartTooltipInput | RadarChartTooltipInput | FunnelChartTooltipInput
Defaultundefined
Literals in the typeauto, off

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.

Configuration example

javascript
// Register sy-line-chart and create the element before configuring it.
chart.tooltip = {
  "show": true,
  "mode": "shared"
};