ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE


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
Links (or not) the points found in a "Scatter" chart.
Example of a chart with linked points:
Chart with linked points
Reminder: The points found in a "Scatter" chart are linked by default.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Unlink the points found in the "Scatter" chart named CHART_MyChart
CHART_MyChart.ScatterLinkPoint(False)
Syntax

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

<Chart control>.ScatterLinkPoint(<Bind>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
PHP Only the interactive Chart controls are available.
<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

<Chart control>.grScatterLinkPoint(<Series number> , <Bind>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
PHP Only the interactive Chart controls are available.
<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 <Chart>.ScatterLinkPoint will be taken into account during the next call to <Chart>.Draw.
  • <Chart>.ScatterLinkPoint 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: wd280grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment