Back to Devexpress

DataItemNumericUnit Enum

dashboard-devexpress-dot-dashboardcommon-6a0d3e73.md

latest2.0 KB
Original Source

DataItemNumericUnit Enum

Lists values that specify numeric units.

Namespace : DevExpress.DashboardCommon

Assembly : DevExpress.Dashboard.v25.2.Core.dll

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public enum DataItemNumericUnit
vb
Public Enum DataItemNumericUnit

Members

NameDescription
Auto

The unit is selected automatically, so that there are no more than three digits in the resulting value’s integer part.

| | Ones |

Values are shown “as is”.

| | Thousands |

Values are converted to thousands.

1,234 -> 1.234K (in the en-US culture, provided that the DataItemNumericFormat.Precision is set to 3 )

| | Millions |

Values are converted to millions.

123,456,789 -> 123.4M (in the en-US culture, provided that the DataItemNumericFormat.Precision is set to 1 )

| | Billions |

Values are converted to billions.

12,345,678,901 -> 12.34B (in the en-US culture, provided that the DataItemNumericFormat.Precision is set to 2 )

|

The following properties accept/return DataItemNumericUnit values:

Remarks

Values listed by this enumeration are used to set the DataItemNumericFormat.Unit property.

See Also

DevExpress.DashboardCommon Namespace