DxBarGauge.StartValue Property
Specifies the bar gauge’s start value.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(0)]
[Parameter]
public double StartValue { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Double | 0 | The bar gauge’s start value. |
Remarks
Specify StartValue
and EndValue properties to define the bar gauge’s scale range. The following code snippet changes the range of visible values and renders bars based on the range:
<DxBarGauge Width="100%"
Height="500px"
StartValue="-5"
EndValue="5"
Values="@Values">
@* ... *@
</DxBarGauge>
@code {
double[] Values = new double[] { -2.13, 1.48, -3.09, 4.52, 4.9, 3.9 };
// ...
}
See Also