Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxChartFinancialSeriesBase<T, TArgument, TValue>.Width Property

Specifies the financial series (DxChartCandlestickSeries and DxChartStockSeries) 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 financial series thickness in pixels.

The following example sets the series width to 3 pixels:

Razor
<DxChart Data="@StockData">
    <DxChartLegend Position="RelativePosition.Outside" />
    <DxChartCandlestickSeries ValueField="@((BargainDataPoint i) => i.Price)"
                              ArgumentField="@(i => new DateTime(
                                                   i.DateTimeStamp.Year,
                                                   i.DateTimeStamp.Month,
                                                   i.DateTimeStamp.Day,
                                                   i.DateTimeStamp.Hour,
                                                   i.DateTimeStamp.Minute,
                                                   0) )"
                              Name="Eco Supreme"
                              Width="3" />
</DxChart>

Financial Series Width

See Also