GaugeBase.Width Property
Specifies the component’s width.
Namespace: DevExpress.Blazor.Base
Assembly: DevExpress.Blazor.v24.1.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public string Width { get; set; }
Property Value
Type | Description |
---|---|
String | The width in CSS units. |
Remarks
Use Height and Width
properties to specify the size of the gauge component.
<DxBarGauge Width="100%"
Height="500px"
StartValue="-5"
EndValue="5"
BaseValue="0"
Values="@Values">
@* ... *@
</DxBarGauge>
@code {
double[] Values = new double[] { -2.13, 1.48, -3.09, 4.52, 4.9, 3.9 };
// ...
}
See Also