Skip to main content

DxChartLineSeriesBase<T, TArgument, TValue>.Width Property

Specifies the line series width in pixels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[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:

<DxChart Data="@SalesData">
    <DxChartLineSeries Name="Total Sales" 
                       ArgumentField="@((SaleInfo s) => s.City)"
                       ValueField="@((SaleInfo s) => s.Amount)"
                       SummaryMethod="Enumerable.Sum"
                       Width="5">
    </DxChartLineSeries>
</DxChart>

Line Series Width

See Also