The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

Declaration

public PivotKPIGraphic GetOLAPKPIServerGraphic(
    string kpiName,
    PivotKPIType kpiType
)
Public Function GetOLAPKPIServerGraphic(
    kpiName As String,
    kpiType As PivotKPIType
) As PivotKPIGraphic

Parameters

Name Type Description
kpiName String

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

Type Description
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