Back to Devexpress

ASPxPivotGrid.GetOLAPKPIServerGraphic(String, PivotKPIType) Method

aspnet-devexpress-dot-web-dot-aspxpivotgrid-dot-aspxpivotgrid-dot-getolapkpiservergraphic-x28-system-dot-string-devexpress-dot-xtrapivotgrid-dot-pivotkpitype-x29.md

latest2.8 KB
Original Source

ASPxPivotGrid.GetOLAPKPIServerGraphic(String, PivotKPIType) Method

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

Namespace : DevExpress.Web.ASPxPivotGrid

Assembly : DevExpress.Web.ASPxPivotGrid.v25.2.dll

NuGet Package : DevExpress.Web

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. Individual KPI images can be obtained via the ASPxPivotGrid.GetKPIImage method. To obtain a list of KPI names provided by the OLAP cube, use the ASPxPivotGrid.GetOLAPKPIList method.

See Also

GetKPIImage(PivotKPIGraphic, PivotKPIType, Int32)

ASPxPivotGrid Class

ASPxPivotGrid Members

DevExpress.Web.ASPxPivotGrid Namespace