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

DataItemNumericUnit Enum

Lists values that specify numeric units.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

public enum DataItemNumericUnit

Members

Name Description
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)

Remarks

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

See Also