# hitTestGauge

Gauge-only — hit-test the dial at canvas coordinates.

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

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

## Definition

```typescript
hitTestGauge(cssX: number, cssY: number): Promise<GaugeChartPointerEventDetail | null>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `cssX` | `number` | Required |
| `cssY` | `number` | Required |

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

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

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

## Related charts


