# getValue

Gauge-only — read the current primary value.

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

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

## Definition

```typescript
getValue(): Promise<number>
```

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

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

## Related charts

- [sy-spectrogram](https://chart.syidax.com/docs/components/spectrogram.md#method-getValue)
- [sy-gauge-chart](https://chart.syidax.com/docs/components/gauge.md#method-getValue)
