Skip to main content
All docs
V24.1

BootstrapChartRangeBarSeries.BarPadding Property

Specifies the padding of all bars in a series in relative units.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

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

Property Value

Type Default Description
Decimal -1

The padding.

Remarks

You can regulate the empty space on a bar’s sides to control the relative bar width. Use the BarPadding property to specify how much of the available sector should be empty. For example, a bar padding of 0.1 leaves 10% of the available space empty giving the rest to the bar.

<dx:BootstrapChart ID="ChartRangeBar" runat="server">
    <SeriesCollection>
        <dx:BootstrapChartRangeBarSeries BarPadding="0,3" ... />
    </SeriesCollection>

</dx:BootstrapChart>
See Also