Skip to main content
A newer version of this page is available. .

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

Declaration

[DefaultValue(true)]
public bool ValueMarginsEnabled { get; set; }

Property Value

Type Default Description
Boolean **true**

true to add an empty space; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ValueMarginsEnabled
BootstrapChart
.SettingsCommonAxis.ValueMarginsEnabled
BootstrapPolarChart
.SettingsCommonAxis.ValueMarginsEnabled

Remarks

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

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