MeasureDefinition(String, SummaryType, MeasureCalculation, MeasureCalculationWindowDefinition, String) Constructor

Initializes a new instance of the MeasureDefinition class.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.1.Core.dll

Syntax

public MeasureDefinition(
    string dataMember,
    SummaryType summaryType,
    MeasureCalculation calculation,
    MeasureCalculationWindowDefinition windowDefinition,
    string expression
)

Parameters

Type Name Description
String dataMember

A String that specifies the data member.

SummaryType summaryType

A SummaryType object that specifies the summary function type.

MeasureCalculation calculation

A MeasureCalculation descendant that specifies the calculation applied to the measure.

MeasureCalculationWindowDefinition windowDefinition

A MeasureCalculationWindowDefinition descendant that specifies a window definition used to apply a calculation.

String expression

A String that specifies the measure expression.