API REFERENCE

tooltipShow

내장 툴팁 표시 여부입니다.

정의

이벤트 이름: tooltipShow. 대소문자를 구분합니다. payload는 `CustomEvent<CartesianTooltipEventDetail | PieChartTooltipShowEventDetail | GaugeChartTooltipShowEventDetail | RadarChartTooltipShowEventDetail | FunnelChartTooltipShowEventDetail>의 detail`에서 읽습니다.

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