# showTooltipAtLeaf

Stem-leaf-only — programmatic tooltip open on a leaf by source index.

Canonical: https://chart.syidax.com/docs/methods/showTooltipAtLeaf/

<a id="definition"></a>

## Definition

```typescript
showTooltipAtLeaf(sourceIndex: number): Promise<StemLeafPointEventDetail | null>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `sourceIndex` | `number` | Required |

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

- [StemLeafPointEventDetail](https://chart.syidax.com/docs/types/StemLeafPointEventDetail.md) — Type definition

<a id="related"></a>

## Related charts

- [sy-stem-leaf-chart](https://chart.syidax.com/docs/components/stem-leaf.md#method-showTooltipAtLeaf)
