API REFERENCE

showTooltipAtPoint

Open the tooltip for a dot programmatically. pointIndex is the category (row) index; the optional seriesIndex selects a group within that row (defaults to the first visible group's dot in the row). Returns the emitted tooltip detail, or null when no dot resolves / the tooltip is disabled.

Definition

typescript
showTooltipAtPoint(pointIndex: number, seriesIndex?: number | 'left' | 'right'): Promise<CartesianTooltipEventDetail | null>
ArgumentsTypeRequired
pointIndexnumberRequired
seriesIndexnumber | 'left' | 'right'Optional

Return type: Promise<CartesianTooltipEventDetail | null>. Call the method after element registration and await its Promise result.