Back to Devexpress

PivotGridControl.GetOlapKpiServerGraphic(String, PivotKpiType) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-dot-getolapkpiservergraphic-x28-system-dot-string-devexpress-dot-xpf-dot-pivotgrid-dot-pivotkpitype-x29.md

latest2.3 KB
Original Source

PivotGridControl.GetOlapKpiServerGraphic(String, PivotKpiType) Method

Returns a graphic set defined on the server for the specified KPI’s trend and status.

Namespace : DevExpress.Xpf.PivotGrid

Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public PivotKpiGraphic GetOlapKpiServerGraphic(
    string kpiName,
    PivotKpiType kpiType
)
vb
Public Function GetOlapKpiServerGraphic(
    kpiName As String,
    kpiType As PivotKpiType
) As PivotKpiGraphic

Parameters

NameTypeDescription
kpiNameString

A string value that specifies the KPI’s name.

| | kpiType | PivotKpiType |

A PivotKpiType enumeration value that identifies the image set. Images can be obtained only for trend and status KPI types.

|

Returns

TypeDescription
PivotKpiGraphic

A PivotKpiGraphic enumeration value that specifies the KPI graphic set.

|

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. To get these images, use the GetOlapKpiServerGraphic method.

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

See Also

KpiGraphic

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace