Calculation Class

Declaration

export class Calculation extends SerializableModel

constructor

Initializes a new instance of the Calculation class.

Declaration

constructor(modelJson?: {}, serializer?: ModelSerializer)

Parameters

Name Type Description
modelJson
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
Observable<MeasureCalculation>

calculationType Property

Declaration

calculationType: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

isEmpty Method

Declaration

isEmpty(): boolean

Returns

Type
boolean