The requested page is not available for the requested platform. You are viewing the content for Default platform.

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)

Optional Parameters

Name Type Default Description
modelJson any null

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

serializer ModelSerializer null

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<number>

previousValuesCount Property

Declaration

previousValuesCount: ko.Observable<number>

Property Value

Type Description
ko.Observable<number>

summaryType Property

Declaration

summaryType: ko.Observable<SummaryType>

Property Value

Type Description
ko.Observable<SummaryType>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.