DifferenceCalculation Class

Declaration

export class DifferenceCalculation extends MeasureCalculation

Inheritance

MeasureCalculation
DifferenceCalculation

constructor

Initializes a new instance of the DifferenceCalculation class.

Declaration

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

Parameters

Name Type Description
modelJson any

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

serializer ModelSerializer

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

Properties

differenceType Property

Declaration

differenceType: ko.Observable<DifferenceType>

Property Value

Type
Observable<DifferenceType>

lookupShiftExpression Property

Declaration

readonly lookupShiftExpression: string

Property Value

Type
string

name Property

Declaration

readonly name: string

Property Value

Type
string

target Property

Declaration

target: ko.Observable<DifferenceTarget>

Property Value

Type
Observable<DifferenceTarget>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.