KpiElement Class
Serves as the base for classes that provide data for card and gauge dashboard items.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.1.Core.dll
NuGet Package: DevExpress.Dashboard.Core
Declaration
public abstract class KpiElement :
NamedDataItemContainer,
IDeltaNumericFormatHolder,
IDeltaContainer
Remarks
The KpiDashboardItem<TKpiElement> descendants, such as the CardDashboardItem or GaugeDashboardItem, are used to present KPI data. These dashboard items display a number of individual elements (cards and gauges respectively) that show the difference between the actual and target values of a particular parameter. To provide data for each of these elements, you need to specify a pair of measures, where one of these measures contains data used to calculate the actual value, and the other provides data for the target value.
The Card and Gauge classes derived from the KpiElement class provide measures for the CardDashboardItem and GaugeDashboardItem respectively.
The KpiElement class exposes the KpiElement.ActualValue and KpiElement.TargetValue properties. These properties hold Measure objects against which the actual and target values displayed within the card or gauge are calculated.
In the DATA ITEMS pane, the KpiElement descendants are visually represented by data item containers.