API REFERENCE

showTooltipAtFeature

An asynchronous method. Check the argument and return types below.

Definition

typescript
showTooltipAtFeature(index: number): Promise<CartesianTooltipEventDetail | null>
ArgumentsTypeRequired
indexnumberRequired

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