PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
Retrieves a data from a "Scatter" chart.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Versions 23 and later
PHP This function is now available for PHP sites.
New in version 23
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
Example
// Affichage d'une donnée dans le champ "GRF_MonGraphe" de type "Nuage de points".
// Cette donnée est la première abscisse de la première série.
Info(grNuageRécupèreDonnéeXY(GRF_MonGraphe, 1, 1, grValeurX))
Syntax
<Result> = grScatterGetDataXY(<Chart name> , <Series number> , <Subscript> , <Value to retrieve>)
<Result>: Real
Retrieved value.
<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).
PHP Only the interactive Chart controls are available.
<Series number>: Integer
Number of the series for which a value will be retrieved.
If the specified series does not exist, the retrieved value is 0.
<Subscript>: Integer
Subscript of data in the series for which the value will be retrieved.
If the data corresponding to the specified subscript does not exist in the series, the retrieved value is 0.
<Value to retrieve>: Integer constant
Indicates the value to retrieve:
grXValueX value of series.
grYValueY value of series.
Remarks
  • To retrieve data from a Stock chart, we recommend that you use grStockGetData.
  • To retrieve data from a Surface graph, it is recommended to use the grSurfaceGetData function.
  • To retrieve data from another type of chart (Pie, Column, Line, etc.), we recommend that you use grGetData.
  • To retrieve data from a Sunburst chart, we recommend that you use grSunburstGetData.
  • Versions 21 and later
    To retrieve data from a Heatmap chart, we recommend that you use grHMGetData.
    New in version 21
    To retrieve data from a Heatmap chart, we recommend that you use grHMGetData.
    To retrieve data from a Heatmap chart, we recommend that you use grHMGetData.
  • We recommend that you use grScatterGetDataXY to retrieve data from "Scatter" charts. You can also use grGetData.
    The following syntax:
    grNuageRécupèreDonnéeXY(GRF_MonGraphe, i, 1, grValeurX)
    grNuageRécupèreDonnéeXY(GRF_MonGraphe, i, 1, grValeurY)
    is equivalent to the syntax:
    grRécupèreDonnée(GRF_MonGraphe, i*2-1, 1)
    grRécupèreDonnée(GRF_MonGraphe, i*2, 1)
  • By default, a chart created by grCreate contains no data.
Component: wd260grf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment