MeasureDefinition Class
#Declaration
TypeScript
export class MeasureDefinition extends SerializableModel
#Inheritance
SerializableModel
MeasureDefinition
#constructor
Initializes a new instance of the MeasureDefinition
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
#calculation Property
#Declaration
TypeScript
calculation: DevExpress.Dashboard.Model.Calculation
#Property Value
Type |
---|
Calculation |
#dataMember Property
#Declaration
TypeScript
dataMember: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#definitions Property
#Declaration
TypeScript
definitions: ko.ObservableArray<DevExpress.Dashboard.Model.IDimensionDefinition>
#Property Value
Type |
---|
Observable |
#displayText Property
#Declaration
TypeScript
displayText: ko.Computed<string>
#Property Value
Type |
---|
Computed<string> |
#expression Property
#Declaration
TypeScript
expression: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#filterString Property
#Declaration
TypeScript
filterString: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#summaryType Property
#Declaration
TypeScript
summaryType: ko.Observable<string>
#Property Value
Type |
---|
Observable<string> |
#windowDefinition Property
#Declaration
TypeScript
windowDefinition: DevExpress.Dashboard.Model.WindowDefinition
#Property Value
Type |
---|
Window |
#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. |