A measure definition.
public class MeasureDefinition : DataItemDefinition
Public Class MeasureDefinition Inherits DataItemDefinition
The measure definition is used to identify the measure using the specified data member and summary type.
Create a new MeasureDefinition instance or obtain the definition of the existing measure in the [Measure.GetMeasureDefinition].
The following code snippet adds a new record to the color scheme that colors measures corresponding to the added measure definition:
//... ColorSchemeEntry entry = new ColorSchemeEntry(); entry.DataSource = ds; MeasureDefinition measureDefinition = new MeasureDefinition("Digit", SummaryType.Average); entry.MeasureKey = new ColorSchemeMeasureKey(measureDefinition); entry.ColorDefinition = new ColorDefinition(Color.Magenta); dashboard.ColorScheme.Add(entry); //...
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MeasureDefinition class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.