A newer version of this page is available. Switch to the current version.

BootstrapChartCommonAxisSettings.ValueMarginsEnabled Property

Adds an empty space between the axis and the minimum and maximum series points.

Namespace: DevExpress.Web.Bootstrap

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


public bool ValueMarginsEnabled { get; set; }
Public Property ValueMarginsEnabled As Boolean

Property Value

Type Default Description


true to add an empty space; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ValueMarginsEnabled


By default, the axes extend slightly beyond their extrema. It prevents cutting off parts of the minimum and maximum series points. To disable this feature, set the BootstrapChartCommonAxisSettings.ValueMarginsEnabled option to false.


Note for Bar-like series: If you set either the ValueMarginsEnabled property to false or the BootstrapChartCommonAxisSettings.MinValueMargin and BootstrapChartCommonAxisSettings.MaxValueMargin properties to 0, bars on the sides will be cropped. To prevent this behavior, set ValueMarginsEnabled to true and keep the MinValueMargin and MaxValueMargin properties unspecified.

See Also