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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Retrieves a data from a chart.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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".
// Cette donnée est la première de la première série.
Info(grGetData(GRF_MonGraphe, 1, 1))
Syntax
<Result> = grGetData(<Chart name> , <Series number> , <Subscript>)
<Result>: Real
Retrieved value.
<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>: entier
Number of the series for which a value will be retrieved.
If the specified series does not exist, the retrieved value is 0.
<Subscript>: entier
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.
Remarks
  • To retrieve data from a stock market graph, it is recommended to use the grStockGetData function.
  • To retrieve data from a Scatterplot, it is recommended to use the grScatterGetDataXY function.
  • To retrieve data from a Surface graph, it is recommended to use the grSurfaceGetData function.
  • Versions 21 and later
    To retrieve data from a heatmap, it is recommended to use the grHMGetData function.
    New in version 21
    To retrieve data from a heatmap, it is recommended to use the grHMGetData function.
    To retrieve data from a heatmap, it is recommended to use the grHMGetData function.
  • By default, a chart created by grCreate contains no data.
Component: wd270grf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment