GridMeasureColumn Class
A measure column in a GridDashboardItem.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v21.2.Core.dll
Declaration
Remarks
A measure column displays summaries calculated against data in the bound data item.
Use the GridMeasureColumn.Measure property to specify the measure to which the column binds. The dashboard calculates summaries against this measure using the function specified by the Measure.SummaryType property.
Values in the measure column can be displayed as text or represented by bars. To select between these modes, use the GridMeasureColumn.DisplayMode property.
Note
If bars are displayed, use the GridMeasureColumn.AlwaysShowZeroLevel property to specify whether the zero level is always shown.
The following code snippet creates the Measure column:
var grid = new GridDashboardItem();
grid.DataSource = dataSource;
var gridMeasure = new GridMeasureColumn();
gridMeasure.Measure = new Measure("Count");
grid.Columns.Add(gridMeasure);
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GridMeasureColumn class.
Note
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.