PivotGridField.KpiGraphic Property

Gets or sets a graphic set used to indicate KPI values. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.1.dll


public PivotKpiGraphic KpiGraphic { get; set; }
Public Property KpiGraphic As PivotKpiGraphic

Property Value

Type Description

A PivotKpiGraphic enumeration value that specifies the graphic set used to indicate KPI values.


Since KPI supports graphic representation for its Status and Trend values, these values can be replaced with images. OLAP supports 12 graphic sets such as shapes, smiley faces, traffic lights, etc. Use the KpiGraphic property to specify the required graphic set.

If the KpiGraphic property is set to PivotKpiGraphic.ServerDefined, the OLAP server specifies the graphic set. In this instance, use the PivotGridField.ActualKpiGraphic property to determine which graphic set is actually used.

KPI graphics can be displayed for table datasources, as well. To enable this, the KpiGraphic property should not be set to PivotKpiGraphic.ServerDefined. In this instance, valid KPI values are -1 (bad), 0 (neutral) and 1 (good).

To learn more, see Key Performance Indicators (KPIs).

See Also