Skip to main content

WindowDefinition Class

Declaration

export class WindowDefinition extends SerializableModel

Inherited Members

Inheritance

SerializableModel
WindowDefinition

constructor

Initializes a new instance of the WindowDefinition class.

Declaration

constructor(modelJson?: {}, serializer?: DevExpress.Analytics.Utils.ModelSerializer)

Parameters

Name Type Description
modelJson
serializer ModelSerializer

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

Properties

windowDefinition Property

Declaration

windowDefinition: ko.Observable<DevExpress.Dashboard.Model.MeasureCalculationWindowDefinition>

Property Value

Type
Observable<MeasureCalculationWindowDefinition>

windowDefinitionType Property

Declaration

windowDefinitionType: ko.Observable<string>

Property Value

Type
Observable<string>

Methods

equals(def) Method

Declaration

equals(
    def: any
): any

Parameters

Name Type
def any

Returns

Type
any

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.

isEmpty Method

Declaration

isEmpty(): boolean

Returns

Type
boolean