ASPxPivotGrid.GetKPIImage(PivotKPIGraphic, PivotKPIType, Int32) Method
Returns an image that corresponds to the specified KPI value.
Namespace: DevExpress.Web.ASPxPivotGrid
Assembly: DevExpress.Web.ASPxPivotGrid.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ImageProperties GetKPIImage(
PivotKPIGraphic graphic,
PivotKPIType kpiType,
int value
)
#Parameters
Name | Type | Description |
---|---|---|
graphic | Pivot |
A Pivot |
kpi |
Pivot |
A Pivot |
value | Int32 | An integer value that specifies the KPI value (-1, 0 or 1). |
#Returns
Type | Description |
---|---|
Image |
An Image |
#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 ASPxPivotGrid.GetOLAPKPIServerGraphic method. Individual KPI images can be obtained via the GetKPIImage method.