ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Chart control
  • Overview
  • Handling the series of a Chart control
  • Properties specific to the charts
  • Remarks
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
Handling a Chart control through programming
Overview
WINDEV, WINDEV Mobile and WEBDEV allow you to handle a Chart control through programming. To do so, use the variable of the Chart control in the code.
The variable of the Chart control corresponds to the name of the Chart control. This variable is an integer.
Several WLanguage functions can be used to handle a Chart control. For more details, see the functions for chart management.
Handling the series of a Chart control
To handle the series of a Chart control, use the following syntax:
<Chart name>[Series index].<Property name>
Properties specific to the charts
The following properties are used to manage Chart controls through programming.
AnimationDurationAllows you to find out and modify the duration of animation for a Chart control. This property can also be used to delete the animation for a Chart control.
CountAllows you to find out the number of series found in a chart.
ValueAllows you to find out the name of a Chart control.
EmptyAllows you to find out whether a Chart control contains no series.

For a complete list of WLanguage properties that can be used with a Chart control, see Properties associated with a Chart control.
For a complete list of WLanguage properties that can be used with a series found in a Chart control, see Properties associated with the series of a Chart control.
Remarks
A Chart control can be handled in a single thread. A Chart control can only be handled in the thread that created it, which means in the main thread of the window.
The Chart control can only be handled in the code that is directly or indirectly run from the processes of the window and window controls.
Consequences: Two threads cannot handle the same Chart control.
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 01/23/2023

Send a report | Local help