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

DataItemNumericFormat Class

Declaration

export class DataItemNumericFormat extends SerializableModel

constructor

Initializes a new instance of the DataItemNumericFormat class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson any

A JSON object used for a dashboard deserialization. Do not pass this parameter directly.

serializer DxDesigner.Analytics.Utils.ModelSerializer

An object used for a dashboard deserialization. Do not pass this parameter directly.

Properties

currencyCultureName Property

Declaration

currencyCultureName: ko.Observable<string>

Property Value

Type
Observable<string>

formatType Property

Declaration

formatType: ko.Observable<DataItemNumericFormatType>

Property Value

Type
Observable<DataItemNumericFormatType>

includeGroupSeparator Property

Declaration

includeGroupSeparator: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

precision Property

Declaration

precision: ko.Observable<number>

Property Value

Type
Observable<number>

unit Property

Declaration

unit: ko.Observable<DataItemNumericUnit>

Property Value

Type
Observable<DataItemNumericUnit>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray