# setValue

Gauge-only — set the primary value.

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

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

## Definition

```typescript
setValue(value: number): Promise<void>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `value` | `number` | Required |

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

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

## Related charts

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