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: KnockoutObservable<string>

Property Value

Type
KnockoutObservable<string>

formatType Property

Declaration

formatType: KnockoutObservable<DataItemNumericFormatType>

Property Value

Type
KnockoutObservable<DataItemNumericFormatType>

includeGroupSeparator Property

Declaration

includeGroupSeparator: KnockoutObservable<boolean>

Property Value

Type
KnockoutObservable<boolean>

precision Property

Declaration

precision: KnockoutObservable<number>

Property Value

Type
KnockoutObservable<number>

unit Property

Declaration

unit: KnockoutObservable<DataItemNumericUnit>

Property Value

Type
KnockoutObservable<DataItemNumericUnit>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationsInfo

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationsInfo