PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
Initializes the color of a series in a "Scatter" chart.
Reminder: By default, the colors of series (or the colors of sections) are selected according to a preset order among a set of 13 colors.
Versions 15 and later
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
New in version 15
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 23 and later
PHP This function is now available for PHP sites.
New in version 23
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
Example
// Ajoute une donnée dans le graphe "MonGraphe" de type "Nuage de points".
// Cette valeur (10, 20) est ajoutée à la fin de la première série.
grScatterAddDataXY("MonGraphe", 1, 10, 20)
// La série 1 du graphe "MonGraphe" est de couleur jaune
grScatterSeriesColor("MonGraphe", 1, LightYellow)
// 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.
grScatterAddDataXY(GRF_MonGraphe, 1, 20, 20)
// La série 1 du graphe GRF_MonGraphe est de couleur verte
grScatterSeriesColor(GRF_MonGraphe, 1, LightGreen)
Syntax
grScatterSeriesColor(<Chart name> , <Series number> , <Color>)
<Chart name>: Control name or character string
Name of the chart to be used. This name can correspond to:
  • the chart name defined through programming with grCreate.
  • the name of Chart control found in the window editor, page editor or report editor.
PHP Only the interactive Chart controls are available.
<Series number>: Integer
Number of the series to use.
<Color>: Integer or constant
Color of specified series. This color can correspond to:
Remarks
  • The data defined by grScatterSeriesColor will be taken into account during the next call to grDraw.
  • To display the color gradients, use grGradient.
  • Function grScatterSeriesColor is equivalent to function grSeriesColor.
    The syntax of the grSeriesColor function used with "Scatterplots" is as follows:
    grCouleurSérie(<Nom du graphe>, 2*<Indice>-1, <Couleur>)
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: wd270grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment