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
Initializes the color of a series in a "Scatter" chart.
Reminder By default, series colors (or sector shares) are selected in a predefined order from a range of 13 colors.
Linux Caution: In Linux, this function requires a specific configuration. For more details, see The charts.
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
// Ajoute une donnée dans le champ GRF_MonGraphe de type "Nuage de points".
// Cette valeur (20, 20) est ajoutée à la fin de la première série.
GRF_MonGraphe.NuageAjouteDonnéeXY(1, 20, 20)
// La série 1 du graphe GRF_MonGraphe est de couleur verte
GRF_MonGraphe.NuageCouleurSérie(1, LightGreen)
Syntax
<Chart control>.ScatterSeriesColor(<Series number> , <Color>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
<Series number>: Integer
Number of the series to use.
<Color>: Integer or constant
Color of the specified series. This color can correspond to:
Remarks
  • The data defined by <Chart>.ScatterSeriesColor will be taken into account during the next call to <Chart>.Draw.
  • To display the color gradients, use <Chart>.Gradient.
  • <Chart>.ScatterSeriesColor and <Chart>.SeriesColor are equivalent.
    The syntax of <Chart>.SeriesColor used with "Scatter" charts is:
    <Chart control>.SeriesColor(2*<Index>-1, <Color>)
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
Component: wd300grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help