Measure Class
A measure which is a DataItem whose values are summarized before they are used in the dashboard.
#Declaration
TypeScript
export class Measure extends DataItem
#Inherited Members
#Inheritance
See Also
#constructor
Initializes a new instance of the Measure
class.
#Declaration
TypeScript
constructor(
dataItemJSON?: any,
serializer?: DevExpress.Analytics.Utils.ModelSerializer
)
#Parameters
Name | Type | Description |
---|---|---|
data |
any | |
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 |
#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<DevExpress.Dashboard.Model.SummaryType>
#Property Value
Type |
---|
Observable<Summary |
#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. |
#grabFrom(dataItem) Method
#Declaration
TypeScript
grabFrom(
dataItem: Measure
): void
#Parameters
Name | Type |
---|---|
data |
Measure |
#isDefinitionEquals(dataItem) Method
#Declaration
TypeScript
isDefinitionEquals(
dataItem: DevExpress.Dashboard.Model.DataItem
): boolean
#Parameters
Name | Type |
---|---|
data |
Data |
#Returns
Type |
---|
boolean |