PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

New WINDEV 27 feature!
  • Adding data into a chart
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds data to a Radial Bar chart.
Example
grRBAddData(CHART_Chart1, "Montpellier", 10)
grRBAddData(CHART_Chart1, "France", 50)
grRBAddData(CHART_Chart1, "Europe", 80)
Syntax
grRBAddData(<Chart name> , <Category> , <Value>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the chart name defined through programming with grCreate.
  • the name of the Chart control in the window or report editor.
<Category>: Character string
Name of the category associated with the data.
<Value>: Integer or real
Value to add.
By default, the value is considered as a percentage. Otherwise, you can specify the "maximum" value with grRBMaximumValue (the percentage will be automatically calculated from this value).
Remarks

Adding data into a chart

grAddData is used to add data into a chart (pie, column, ...).
Depending on the type of chart, specific functions can also be used to add data:
Reminder: To add a value to the data in a chart, use grIncreaseData.
Business / UI classification: Business Logic
Component: wd270grf.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment