API REFERENCE

tooltipAction

CustomEvent.detail type: ChartTooltipActionEventDetail. Event names are case-sensitive.

Definition

Event name: tooltipAction. Names are case-sensitive. Read the payload from detail on CustomEvent<ChartTooltipActionEventDetail>.

javascript
chart.addEventListener('tooltipAction', event => {
  console.log(event.detail); // ChartTooltipActionEventDetail
});