Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
// Initializes the "Sales" label of second data series in "MyChart"
grScatterSeriesLabel("MyChart", 2, "Sales")
// Initializes the "Purchase" label of third data series in CHART_MyChart
grScatterSeriesLabel(CHART_MyChart, 3, "Purchase")
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 the Chart control in the window, page or report editor.
PHP Only the interactive Chart controls are available.
<Series number>: Integer
Number of the series for which a label will be initialized.
<Label>: Character string
Caption of label to initialize.
  • The label font can be modified by grLabelFont.
  • The data defined by grScatterSeriesLabel will be taken into account during the next call to grDraw.
  • grScatterSeriesLabel and grSeriesLabel are equivalent.
    The syntax of grSeriesLabel used with "Scatter" charts is as follows:
    grSeriesLabel(<Chart name>, 2*<Index>-1, <Label>)
    Reminder: A "Scatter" chart uses the data in groups of two series (for more details, see grScatterAddDataXY).
Component: wd290grf.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help