Skip to main content
All docs
V24.2

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

DxPolarChart<T>.BarGroupWidth Property

Specifies the width of bar groups in pixels.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(null)]
[Parameter]
public int? BarGroupWidth { get; set; }

#Property Value

Type Default Description
Nullable<Int32> null

The bar group width, in pixels.

#Remarks

Use the BarGroupWidth property to specify the width of all bar groups of a Polar Chart. The maximum bar group width equals the major tick interval. You can also use the DxChartBarSeriesBase.BarWidth property to specify the bar width for an individual series. The BarGroupWidth property has higher priority in single-series charts.

The following example sets the bar group width to 25 pixels:

Razor
<DxPolarChart Data=@DataSource BarGroupWidth="25">
    @* ... *@
</DxPolarChart>

Bar group width

Use the BarGroupPadding property to specify bar group padding as a percentage. The BarGroupPadding property value affects bar widths: the higher the BarGroupPadding property value, the narrower all bars are. Note that the BarGroupPadding property value has no effect if you use the BarGroupWidth property to specify bar group width explicitly.

See Also