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.v24.2.dll
Declaration
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.