MeasureDefinition Class

Declaration

export class MeasureDefinition extends SerializableModel

constructor

Initializes a new instance of the MeasureDefinition class.

Declaration

constructor(
    modelJson?: any,
    serializer?: 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: Calculation

Property Value

Type
Calculation

dataMember Property

Declaration

dataMember: ko.Observable<string>

Property Value

Type
Observable<string>

definitions Property

Declaration

definitions: ko.ObservableArray<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: WindowDefinition

Property Value

Type
WindowDefinition

Methods

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.