Skip to main content

MeasureDefinition Class

Declaration

export class MeasureDefinition extends SerializableModel

Inherited Members

Inheritance

SerializableModel
MeasureDefinition

constructor

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

calculation Property

Declaration

calculation: DevExpress.Dashboard.Model.Calculation

Property Value

Type
Calculation

dataMember Property

Declaration

dataMember: ko.Observable<string>

Property Value

Type
Observable<string>

definitions Property

Declaration

definitions: ko.ObservableArray<DevExpress.Dashboard.Model.IDimensionDefinition>

Property Value

Type
ObservableArray<IDimensionDefinition>

displayText Property

Declaration

displayText: ko.Computed<string>

Property Value

Type
Computed<string>

expression Property

Declaration

expression: ko.Observable<string>

Property Value

Type
Observable<string>

filterString Property

Declaration

filterString: ko.Observable<string>

Property Value

Type
Observable<string>

summaryType Property

Declaration

summaryType: ko.Observable<string>

Property Value

Type
Observable<string>

windowDefinition Property

Declaration

windowDefinition: DevExpress.Dashboard.Model.WindowDefinition

Property Value

Type
WindowDefinition

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.