Skip to main content
A newer version of this page is available. .

MeasureDefinition Class

Declaration

export class MeasureDefinition extends SerializableModel

constructor

Initializes a new instance of the MeasureDefinition class.

Declaration

constructor(
    modelJson?: any,
    serializer?: DxDesigner.Analytics.Utils.ModelSerializer
)

Parameters

Name Type Description
modelJson any

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

serializer DxDesigner.Analytics.Utils.ModelSerializer

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

Properties

calculation Property

Declaration

calculation: Calculation

Property Value

Type
Calculation

dataMember Property

Declaration

dataMember: ko.Observable<string>

Property Value

Type
Observable<string>

displayText Property

Declaration

displayText: ko.Computed<string>

Property Value

Type
Computed<string>

expression Property

Declaration

expression: ko.Observable<string>

Property Value

Type
Observable<string>

summaryType Property

Declaration

summaryType: ko.Observable<string>

Property Value

Type
Observable<string>

windowDefinition Property

Declaration

windowDefinition: WindowDefinition

Property Value

Type
WindowDefinition

Methods

getInfo Method

For internal use.

Declaration

getInfo(): DxDesigner.Analytics.Utils.ISerializationInfoArray

Returns

Type Description
DxDesigner.Analytics.Utils.ISerializationInfoArray