|
|
|
|
|
grPPCImage (Function) In french: grPIImage Defines the image used for a Pictorial Percentage chart. Note: All image formats are supported, but it is recommended to use a vector image file. ChartImage is Image = "rocket.png"
grDeleteSeries(CHART_Percentage, 1)
nSum is int
FOR EACH ROW OF TABLE_Series
nValue is int = COL_Data
nSum += nValue
grAddData(CHART_Percentage, 1, nValue)
END
grPPCMaximumValue(CHART_Percentage, nSum)
grPPCImage(CHART_Percentage, ChartImage)
grDraw(CHART_Percentage)
Syntax
grPPCImage(<Chart> , <Image> [, <Opacity>])
<Chart>: Control name or character string Name of the chart to be used. This name corresponds to:- the name of the chart defined programmatically with grCreate.
- the name of the Chart control in the window or page editor.
<Image>: Character string or Image variable Category image. This image can correspond to: - a memo item,
- the path of an image file (or just the file name if the image is located in the same directory as the executable),
- the name of an Image control containing image.
- a variable of type Image.
<Opacity>: Optional integer Opacity for the portion of the image that is not part of the percentages. This parameter is a number between 0 (fully transparent, default) and 100 (fully opaque). This parameter is only taken into account for the last part of the chart, if the sum of the values does not reach 100%. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|