Show a single value on a clear dial with optional colored bands.
Why it helps
- Dial with bands
- Accessible
- Compact
Where it fits
- Capacity
- Temperature
- Targets
Example
<Stack Wrap="true" Align="center" Spacing="6">
<Gauge Label="CPU load" Value="72" Unit="%" Bands="_bands" />
<Gauge Label="Disk (half)" Half="true" Value="35" Unit="%" Bands="_bands" />
<Gauge Label="Speed" Min="0" Max="240" Value="130" Unit=" km/h" />
</Stack>
@code {
private readonly GaugeBand[] _bands =
[
new(0, 60, Severity.Success),
new(60, 85, Severity.Warning),
new(85, 100, Severity.Error)
];
} A short fragment. Add @using RayCraft.Blazor.Components to your page and use an interactive render mode.
Part of RayCraft Complete.