MovingCalculation Class
#Declaration
TypeScript
export class MovingCalculation extends MeasureCalculation
#Inheritance
SerializableModel
MeasureCalculation
MovingCalculation
#constructor
Initializes a new instance of the MovingCalculation
class.
#Declaration
TypeScript
constructor(
modelJson?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
model |
any | A JSON object used for dashboard deserialization. Do not pass this parameter directly. |
serializer | Model |
An object used for dashboard deserialization. Do not pass this parameter directly. |
#Properties
#name Property
#Declaration
TypeScript
get name(): string
#Property Value
Type |
---|
string |
#nextValuesCount Property
#Declaration
TypeScript
nextValuesCount: ko.Observable<number>
#Property Value
Type |
---|
Observable<number> |
#previousValuesCount Property
#Declaration
TypeScript
previousValuesCount: ko.Observable<number>
#Property Value
Type |
---|
Observable<number> |
#summaryType Property
#Declaration
TypeScript
summaryType: ko.Observable<DevExpress.Dashboard.Model.SummaryType>
#Property Value
Type |
---|
Observable<Summary |
#Methods
#getInfo Method
For internal use.
#Declaration
TypeScript
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
#Returns
Type | Description |
---|---|
ISerialization |
An array of objects that provide serialization info. |