ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2025 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Specifies the maximum value used to calculate percentages in a Pictorial Percentage chart.
Example
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
grPPCMaximumValue(<Chart> , <Maximum value>)
<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.
Android Only Chart controls are available.
<Maximum value>: Real
New maximum value to be applied. This value must be positive.
This value is set to 100 by default, so the data is expressed as a percentage. When this value is changed, the chart data is automatically recalculated.
Business / UI classification: Business Logic
Component: wd300grf.dll
Minimum version required
  • Version 2025
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/14/2025

Send a report | Local help