RayCraftDocs
v1.0.3 raycraft.dev
On this page

LinearGauge

Complete

Straight meter for a single value, horizontal or vertical, with optional colored bands. Exposed to assistive technology as an image labelled with the value.

Example

LinearGauge control

Parameters

ParameterTypeDescription
BandsIEnumerable<GaugeBand>Colored ranges: GaugeBand(from, to, severity). The value arc uses the color of its band.
ClassstringExtra CSS classes added to the root element.
LabelstringVisible label text (charts: accessible name; IconButton: accessible name and tooltip).
MaxDoubleLargest allowed value (ProgressBar: the value that means 100%; Rating: number of stars).
MinDoubleSmallest allowed value.
StylestringInline style added to the root element.
UnitstringText added after the value, such as % or km/h.
ValueDoubleCurrent value. Use with @bind-Value.
ValueFormatstringNumber format for axis and tooltips, e.g. N0 or P1.
VerticalboolLays out or draws vertically instead of horizontally.

Package

LinearGauge is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.