ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
Links (or not) the points found in a "Scatter" chart.
Example of chart with linked points:
Chart with linked points
Reminder By default, the points of a "Scatter chart" are connected.
New in SaaS
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 2.
For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Example
// Délier les points du graphe "MonGraphe" de type "Nuage de points"
grScatterLinkPoint("MonGraphe", False)
// Délier les points du graphe GRF_MonGraphe de type "Nuage de points"
grScatterLinkPoint(GRF_MonGraphe, False)
Syntax

Linking or unlinking the points found in a Scatter chart Hide the details

grScatterLinkPoint(<Chart name> , <Bind>)
<Chart name>: 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, page or report editor.
<Bind>: Boolean
  • True if the points must be linked between themselves,
  • False otherwise.

Linking or unlinking the points found in a series of Scatter chart Hide the details

grScatterLinkPoint(<Chart name> , <Series number> , <Bind>)
<Chart name>: 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, page or report editor.
<Series number>: Integer
Number of the series to use.
<Bind>: Boolean
  • True if the points must be linked between themselves,
  • False otherwise.
Remarks
  • In the "Scatter" charts, a point is defined by its coordinates (X-coordinate and Y-coordinate).
  • The data defined by grScatterLinkPoint will be taken into account during the next call to grDraw.
  • grScatterLinkPoint can only be used for the "Scatter" charts. This function has no effect with the other types of charts.
  • The points are linked in the order in which they have been added
Related Examples:
The Chart functions Unit examples (WINDEV): The Chart functions
[ + ] Using the main chart designer features of WINDEV:
- Create a Pie, Column or Line chart
- Define the display area of a chart
- Define the chart options (legend, percentage, ...)
- Draw a line on a chart
WD Chart Training (WINDEV): WD Chart
[ + ] This example presents the different uses of the Chart control.
Different types of charts are presented:
- Pie
- Sunburst
- Line
- Scatter
- Column
- Area
- etc.

The main features presented here are the possibility to customize of charts from the code, as well as to fill the chart from an HFSQL data file, or in the editor.
Component: wd300grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help