DxChartLineSeriesBase<T, TArgument, TValue>.Width Property
In This Article
Specifies the line series width in pixels.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
[DefaultValue(2)]
[Parameter]
public int Width { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Int32 | 2 | The series width. |
#Remarks
Use the Width
property to specify the line series thickness in pixels.
The following example sets the series width to 5 pixels:
Razor
<DxChart Data="@SalesData">
<DxChartLineSeries Name="Total Sales"
ArgumentField="@((SaleInfo s) => s.City)"
ValueField="@((SaleInfo s) => s.Amount)"
SummaryMethod="Enumerable.Sum"
Width="5">
</DxChartLineSeries>
</DxChart>
See Also