API REFERENCE

tooltipShow

Whether to display the built-in tooltip.

Definition

Event name: tooltipShow. Names are case-sensitive. Read the payload from detail on `CustomEvent<CartesianTooltipEventDetail | PieChartTooltipShowEventDetail | GaugeChartTooltipShowEventDetail | RadarChartTooltipShowEventDetail | FunnelChartTooltipShowEventDetail>`.

javascript
chart.addEventListener('tooltipShow', event => {
  console.log(event.detail); // CartesianTooltipEventDetail |
    PieChartTooltipShowEventDetail |
    GaugeChartTooltipShowEventDetail |
    RadarChartTooltipShowEventDetail |
    FunnelChartTooltipShowEventDetail
});