Skip to main content

BootstrapChartBarSeriesBase.BarPadding Property

Controls the padding and consequently the width of all bars in a series using relative units. Ignored if the BootstrapChartBarSeriesBase.BarWidth property is specified.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v23.2.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(-1)]
public decimal BarPadding { get; set; }

Property Value

Type Default Description
Decimal -1

A decimal number from 0 to 1.

Remarks

This property accepts a value from 0 to 1 that specifies the correlation between the empty space on a bar’s sides and the bar’s width: 0 - the bar occupies the whole allocated space; 1 - virtually hides the bar, creating a lot of empty space.

See Also