# setRings

Gauge-only (activity) — replace the ring set.

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

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

## Definition

```typescript
setRings(rings: GaugeActivityRingSpec[]): Promise<void>
```

| Arguments | Type | Required |
| --- | --- | --- |
| `rings` | `GaugeActivityRingSpec[]` | Required |

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

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

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

## Related charts

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