Skip to content

Gauge

<ax-gauge> is a Pro radial meter. Its geometry is driven by startAngle / endAngle (degrees, clockwise from 3 o’clock), so you can render any arc. Self-gates with a PRO watermark until licensed.

import { AxGaugeComponent } from '@axisui-ng/charts';
<!-- bottom semicircle -->
<ax-gauge [value]="72" [startAngle]="0" [endAngle]="180" label="Score" ariaLabel="Score" />
<!-- speedometer (three-quarter) -->
<ax-gauge [value]="48" [startAngle]="135" [endAngle]="405" label="Load" ariaLabel="Load" />
InputTypeDefaultNotes
valuenumber (required)Current value.
minnumber0Value domain minimum.
maxnumber100Value domain maximum.
startAnglenumber (required)Arc start, degrees clockwise from 3 o’clock.
endAnglenumber (required)Arc end, degrees.
colorIndexnumber1Clamped to 1–5 → value-arc --color-chart-N.
labelstring''Caption under the center value.
ariaLabelstring''Meter name; empty falls back to label, then 'Gauge'.

Host role="meter" with aria-valuenow / min / max and aria-valuetext as "{value} of {max}". aria-label comes from ariaLabel, else label, else 'Gauge'.

Pro component — see ProWatermark for how the watermark/gating works.

Interactive examples live in Storybook under Pro / Gauge. Run pnpm storybook to explore them.