Gauge
A semicircle for “budget used”; thresholds as ticks.
$320.00of $500.00 budget
<Gauge aria-label="Monthly budget used" value={0.64} label="of $500.00 budget" valueLabel="$320.00" />import { Gauge } from "@logicplanes/kaeso-ui";Props
aria-labelstringThe chart's accessible name ("Requests by model").
labelReactNodeA caption under the value ("of $500.00 budget").
thresholdsnumber[] = [0.8]Fractions marked as ticks on the arc (
[0.8]by default). From the lowest one, the arc turns to warning.valuenumberThe share used, from 0 to 1. Values above 1 fill the arc and turn it to danger.
valueLabelReactNodeReplaces the value in the center, which is otherwise the percentage.