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

GridDeltaColumn Class

Namespace: DevExpress.DashboardCommon

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

Declaration

public class GridDeltaColumn :
    GridColumnBase,
    ISupportValueBarDisplayMode,
    IDeltaNumericFormatHolder
Public Class GridDeltaColumn
    Inherits GridColumnBase
    Implements ISupportValueBarDisplayMode,
               IDeltaNumericFormatHolder

Remarks

A delta column binds to two measures, calculates summaries for both and displays the difference between these summaries.

Grid_DeltaColumn

Measures to which a delta column is bound are called Actual and Target values. Use the GridDeltaColumn.ActualValue and GridDeltaColumn.TargetValue properties to specify these measures.

The dashboard calculates summaries against both measures using functions specified by their Measure.SummaryType properties and displays the difference between these summary values in the delta column.

Values in the delta column can be displayed as text or represented by bars. To select between these modes, use the GridDeltaColumn.DisplayMode property.

Grid_DeltaColumn_Bars

Note

If bars are displayed, use the GridDeltaColumn.AlwaysShowZeroLevel property to specify whether the zero level is always shown.

Use the GridDeltaColumn.DeltaOptions property to access options that control the calculation of column values and define the delta indication.

The following code snippet creates the Delta column:

var grid = new GridDashboardItem();
grid.DataSource = dataSource;

var gridDelta = new GridDeltaColumn();
gridDelta.ActualValue = new Measure("Count");
gridDelta.TargetValue = new Measure("TargetCount");

grid.Columns.Add(gridDelta);

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
DevExpress.DashboardCommon.Native.IDeltaNumericFormatHolder
See Also