Skip to main content
A newer version of this page is available. .

MovingCalculation Class

Declaration

export class MovingCalculation extends MeasureCalculation

Inheritance

MeasureCalculation
MovingCalculation

constructor

Initializes a new instance of the MovingCalculation class.

Declaration

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

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

name Property

Declaration

readonly name: string

Property Value

Type
string

nextValuesCount Property

Declaration

nextValuesCount: ko.Observable<number>

Property Value

Type
Observable<number>

previousValuesCount Property

Declaration

previousValuesCount: ko.Observable<number>

Property Value

Type
Observable<number>

summaryType Property

Declaration

summaryType: ko.Observable<SummaryType>

Property Value

Type
Observable<SummaryType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray