|
|
|
|
grScatterSeriesColor (Function) In french: grNuageCouleurSérie 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.
// 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.
<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:
|
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
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|