DxChartValueAxis.AllowDecimals Property
Specifies whether to allow decimal values on the axis.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v20.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[Parameter]
public bool AllowDecimals { get; set; }
Property Value
Type | Description |
---|---|
Boolean | true, to allow decimal values on the axis; when false, the axis contains integer values only. |
Remarks
On the axis, the chart can display decimal and integer values. Use the AllowDecimals property to specify whether to allow decimal values on the axis.
<DxChart Data="@SalesData">
<DxChartValueAxis AllowDecimals="True" >
<DxChartAxisLabel Format="ChartAxisLabelFormat.Decimal"></DxChartAxisLabel>
<DxChartAxisTitle Text="Amount"></DxChartAxisTitle>
</DxChartValueAxis>
...
</DxChart>
Online Demo
See Also