The requested page is not available for the requested platform. You are viewing the content for Default platform.

Calculation Class

Declaration

export class Calculation extends SerializableModel

Inheritance

SerializableModel
Calculation

constructor

Initializes a new instance of the Calculation class.

Declaration

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

Optional Parameters

Name Type Default Description
modelJson __type null
serializer ModelSerializer null

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