DDS/Components/Gauge Chart

Gauge Chart

Charts

Animated circular SVG gauge. Ideal for displaying a KPI, a progress indicator, or a bounded metric.

Playground

72Score72%
0100

Controls

Props

PropTypeDefaultDescription
value*numberCurrent value.
minnumber0Minimum value.
maxnumber100Maximum value.
labelstringLabel displayed below the value.
unitstringSuffix (e.g. %, °C).
sizenumber180SVG size in px.
colorstringGauge color (default: violet).
showValuebooleantrueDisplay the value in the center.
showMinMaxbooleantrueDisplay min/max values.
thicknessnumber14Arc thickness.

Examples

CPU Usage
45%CPU45%
0100
vue
<DsGaugeChart
  :value="45"
  label="CPU"
  unit="%"
  :size="160"
/>
High value
93Performance93%
0100
vue
<DsGaugeChart
  :value="93"
  label="Performance"
  color="#22c55e"
  :size="160"
/>
Warning
81Memory81%
0100
vue
<DsGaugeChart
  :value="81"
  label="Memory"
  color="#f97316"
  :size="160"
/>
Custom range
1,400RPM70%
02000
vue
<DsGaugeChart
  :value="1400"
  :min="0"
  :max="2000"
  label="RPM"
  :size="160"
/>

Skeleton

Use DsGaugeChartSkeleton as a loading placeholder while content is being fetched.

Default
vue
<DsGaugeChartSkeleton />

Accessibility

  • SVG with role="img" and dynamic aria-label.
  • The value is also visible as text for screen readers.