Skip to main content

DifferenceCalculation Class

Declaration

export class DifferenceCalculation extends MeasureCalculation

Inherited Members

Inheritance

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<DevExpress.Dashboard.Model.DifferenceType>

Property Value

Type
Observable<DifferenceType>

lookupShiftExpression Property

Declaration

get lookupShiftExpression(): string

Property Value

Type
string

name Property

Declaration

get name(): string

Property Value

Type
string

target Property

Declaration

target: ko.Observable<DevExpress.Dashboard.Model.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.