MovingCalculation Class

Declaration

export class MovingCalculation extends MeasureCalculation

Inheritance

constructor

Initializes a new instance of the MovingCalculation 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

name Property

Declaration

readonly name: string

Property Value

Type Description
string

nextValuesCount Property

Declaration

nextValuesCount: ko.Observable<number>

Property Value

Type Description
ko.Observable

previousValuesCount Property

Declaration

previousValuesCount: ko.Observable<number>

Property Value

Type Description
ko.Observable

summaryType Property

Declaration

summaryType: ko.Observable<SummaryType>

Property Value

Type Description
ko.Observable

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.