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.
Example
// 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")
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 the Chart control in the window, page or report editor.
<Series number>: Integer
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.
  • 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: wd300grf.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