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

DashboardItemMouseActionWpfEventArgs.Data Property

Gets the data displayed in the dashboard item.

Namespace: DevExpress.DashboardWpf

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

Declaration

public MultiDimensionalData Data { get; }
Public ReadOnly Property Data As MultiDimensionalData

Property Value

Type Description
MultiDimensionalData

A MultiDimensionalData object that is the dashboard item data.

Remarks

The Data property returns all data displayed in the dashboard item.

The following picture and the code snippet below illustrate how to use the MultiDimensionalData API to obtain totals and measure values.

// Grand Total calculated for the first Measure for the entire data table.
e.Data.GetValue(e.GetMeasures()[0]);
// The value at the clicked cell.
e.GetSlice(DashboardDataAxisNames.PivotRowAxis).GetSlice(e.GetAxisPoint(DashboardDataAxisNames.PivotColumnAxis)).GetValue(e.GetMeasures()[0]);
// Row's Total calculated for the first Measure.
e.GetSlice(DashboardDataAxisNames.PivotRowAxis).GetValue(e.GetMeasures()[0]);
// Column's Total calculated for the first Measure.
e.GetSlice(DashboardDataAxisNames.PivotColumnAxis).GetValue(e.GetMeasures()[0]);
See Also