DataItemNumericUnit Enum

Lists values that specify numeric units.

Namespace: DevExpress.DashboardCommon

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

Declaration

public enum DataItemNumericUnit
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.

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)

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)

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)

Remarks

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

See Also