Skip to main content
A newer version of this page is available.
All docs
V18.2

BootstrapCoordinateSystemChart.BarWidth Property

OBSOLETE

Use the series' BarPadding property instead.

Specifies the correlation between a bar and the empty space around it.

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[DefaultValue(typeof(decimal), "0")]
[Range(typeof(decimal), "0", "1")]
[Obsolete("Use the series' BarPadding property instead.")]
[Browsable(false)]
public virtual decimal BarWidth { get; set; }

Property Value

Type Default Description
Decimal "0"

A Decimal value specifying the bar width

Remarks

Important

Use the series’ BootstrapChartBarSeriesBase.BarPadding property instead.

The BarWidth property is only in effect if the BootstrapCoordinateSystemChart.EqualBarWidth property is set to true.

This property accepts values from 0 to 1 excluding 0. A value close to 0 makes the bar very thin leaving a lot of space, and 1, conversely, makes the bar very thick leaving no space.

See Also