PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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>: Character string (with or without quotes)
Name of chart to use. This name corresponds to:
  • the chart name defined by 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 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 is equivalent to grSeriesLabel.
    The syntax of grSeriesLabel used with "Scatter" charts is as follows:
    grSeriesLabel(<Chart name>, 2*<Subscript>-1, <Label>)
    Reminder: A "Scatter" chart is using the data by groups of two series (see grScatterAddDataXY for more details).
Component : wd240grf.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment