ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
  • 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
CHART_Chart1.RBAddData("Montpellier", 10)
CHART_Chart1.RBAddData("France", 50)
CHART_Chart1.RBAddData("Europe", 80)
Syntax
<Chart control>.RBAddData(<Category> , <Value>)
<Chart control>: Control name
Name of the Chart control used (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 <Chart>.RBMaximumValue (the percentage will be automatically calculated from this value).
Remarks

Adding data into a chart

<Chart>.AddData 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 <Chart>.IncreaseData.
Business / UI classification: Business Logic
Component: wd290grf.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/15/2024

Send a report | Local help