ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
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 label of data series in a "Scatter" chart.
Example of series label:
Series label
Reminder: By default, a chart has no label.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Initialise l'étiquette "Vente" de la série de données 2 dans le graphe "MonGraphe"
grScatterSeriesLabel("MonGraphe", 2, "Vente")
// Initialise l'étiquette "Achat" de la série de données 3 dans le champ GRF_MonGraphe
grScatterSeriesLabel(GRF_MonGraphe, 3, "Achat")
Syntax
grScatterSeriesLabel(<Chart name> , <Series number> , <Label>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds 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>: entier
Number of the series for which a label will be initialized.
<Label>: Character string
Caption of label to initialize.
Remarks
  • The label font can be modified by grLabelFont.
  • The data defined by grScatterSeriesLabel will be taken into account during the next call to grDraw.
  • Function grScatterSeriesLabel is equivalent to function grSeriesLabel.
    The syntax of grSeriesLabel used with "Scatter" charts is as follows:
    grEtiquetteSérie(<Nom graphe>, 2*<Indice>-1, <Étiquette>)
    Reminder: A "Scatter" chart is using the data by groups of two series (for more details, see grScatterAddDataXY).
Component: wd270grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help