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
NuGet Package: DevExpress.Web
#Declaration
public PivotKPIGraphic GetOLAPKPIServerGraphic(
string kpiName,
PivotKPIType kpiType
)
#Parameters
Name | Type | Description |
---|---|---|
kpi |
String | A string value that specifies the KPI’s name. |
kpi |
Pivot |
A Pivot |
#Returns
Type | Description |
---|---|
Pivot |
A Pivot |
#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.