ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV, WEBDEV and WINDEV Mobile 2025 feature!
This content has been translated automatically.  Click here  to view the French version.
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
Allows you to specify the maximum graph value for automatic calculation of percentages in a "Percentage imaged" graph.
Example
ImageGraphe is Image = "rocket.png"
GRF_Percentage.deleteSeries(1)
nSum is an integer
FOR ALL TABLE LINES_Series
	nValue is an integer = COL_Data
	nSum += nValue
	GRF_Percentage.AddData(1, nValue)
END
GRF_Percentage.PIVMaximumValue(nSum)
GRF_Percentage.PIImage(ImageGraph)
GRF_Percentage.Draw()
Syntax
<Chart control>.PIVimumValue(<Maximum value>)
<Chart control>: Control name
Name of Chart control in 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: 11/20/2024

Send a report | Local help