# hitTestMarkers

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

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

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

## Definition

```typescript
hitTestMarkers(clientX: number, clientY: number): Promise<LineChartPointEventDetail[]>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `clientX` | `number` | Required |
| `clientY` | `number` | Required |

Return type: `Promise<LineChartPointEventDetail[]>`. Call the method after element registration and await its Promise result.

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

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

## Related charts

- [sy-line-chart](https://chart.syidax.com/docs/components/line.md#method-hitTestMarkers)
