Calculation Class

Declaration

export class Calculation extends SerializableModel

Inheritance

constructor

Initializes a new instance of the Calculation class.

Declaration

constructor(modelJson?: {}, serializer?: DevExpress.Analytics.Utils.ModelSerializer)

Parameters

Name Type Description
modelJson __type
serializer ModelSerializer

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

Properties

calculation Property

Declaration

calculation: ko.Observable<MeasureCalculation>

Property Value

Type Description
ko.Observable<MeasureCalculation>

calculationType Property

Declaration

calculationType: ko.Observable<string>

Property Value

Type Description
ko.Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

isEmpty Method

Declaration

isEmpty(): boolean

Returns

Type Description
boolean