Back to Devexpress

PivotGridField.KpiGraphic Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-dd1d27e2.md

latest6.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

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

Property Value

TypeDescription
PivotKpiGraphic

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

|

Available values:

Show 16 items

NameDescription
None

No image is displayed.

| | ServerDefined |

The KPI graphic type is defined by the server.

| | Shapes |

| | TrafficLights |

| | RoadSigns |

| | Gauge |

| | ReversedGauge |

| | Thermometer |

| | ReversedThermometer |

| | Cylinder |

| | ReversedCylinder |

| | Faces |

| | VarianceArrow |

| | StandardArrow |

| | StatusArrow |

| | ReversedStatusArrow |

|

Remarks

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

GetOlapKpiServerGraphic(String, PivotKpiType)

KpiType

GetKpiBitmap(PivotKpiGraphic, Int32)

ActualKpiGraphic

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace