The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridMeasureColumn Class

Namespace: DevExpress.DashboardCommon

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

Declaration

public class GridMeasureColumn :
    GridColumnBase,
    ISupportValueBarDisplayMode
Public Class GridMeasureColumn
    Inherits GridColumnBase
    Implements ISupportValueBarDisplayMode

Remarks

A measure column displays summaries calculated against data in the bound data item.

Grid_MeasureColumn

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.

Grid_MeasureColumn_Bars

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);

Implements

DevExpress.DashboardCommon.Native.IDataItemHolder
DevExpress.DashboardCommon.Native.IChangeService
DevExpress.DashboardCommon.Native.IDataItemContext
DevExpress.DashboardCommon.Native.IFormatOwnerContext
DevExpress.DashboardCommon.Native.IEditNameProvider
DevExpress.DashboardCommon.Native.ISupportValueBarDisplayMode
See Also