Skip to main content

MovingCalculation Class

Declaration

export class MovingCalculation extends MeasureCalculation

Inherited Members

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

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

Property Value

Type
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.