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.v21.1.dll


public decimal BarPadding { get; set; }

Property Value

Type Default Description


A decimal number from 0 to 1.


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