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

BootstrapChartCommonAxisSettings.AllowDecimals Property

Specifies whether to allow decimal values on the axis.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

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

Property Value

Type Default Description
Boolean **true**

true, to allow decimal values on the axis; otherwise, the axis contains integer values only (false).

Property Paths

You can access this nested property as listed below:

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

Remarks

The following cose snippet illustrates how to allow the chart to display integer values only.

<dx:BootstrapChart ID="ChartExportPrintingAPI" ...>
    ...
    <SettingsCommonAxis AllowDecimals="false" />
</dx:BootstrapChart>
See Also