DxPolarChartBarSeries<T, TArgument, TValue>.BarPadding Property
Specifies the padding between bars in a bar group, as a percentage.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public double BarPadding { get; set; }
Property Value
Type | Description |
---|---|
Double | A value from |
Remarks
The BarPadding
property allows you to specify the bar padding of an individual series. Specify BarWidth and DxPolarChart.BarGroupWidth properties to set bar width and bar group width in pixels. These BarWidth and BarGroupWidth properties have priority over the BarPadding
property.
The images below demonstrate how different BarPadding
property values affect the bars of the Day series:
The following code sets the bar padding to 0.6
(60%
of the maximum bar width), and therefore, sets the bar width to 0.4
(40%
of the maximum bar width):
<DxPolarChartBarSeries ArgumentField="@((WeatherForecast i) => i.Date)"
ValueField="@((WeatherForecast i) => i.Precipitation)"
Name="Day"
BarPadding="0.6">
@*...*@
</DxPolarChartBarSeries>