Skip to main content
All docs
V25.1
  • BootstrapChartCommonAxisSettings.AllowDecimals Property

    Specifies whether to allow decimal values on the axis.

    Namespace: DevExpress.Web.Bootstrap

    Assembly: DevExpress.Web.Bootstrap.v25.1.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
    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