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 Surface chart.
Example
// Affichage d'une donnée dans le champ "GRF_MonGraphe".
// Cette donnée est l'abscisse du premier point.
Info(grSurfaceGetData(GRF_MonGraphe, 1, grXCoordinate))
Syntax
<Result> = grSurfaceGetData(<Chart name> , <Subscript> , <Value to retrieve>)
<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).
<Subscript>: Integer
Subscript of the data defined by the addition order in the chart.
If the data corresponding to the specified subscript does not exist, the retrieved value is 0.
<Value to retrieve>: Integer
Indicates the value to retrieve:
grXCoordinateX-coordinate of the point to retrieve.
grYCoordinateY-coordinate of the point to retrieve.
grZCoordinateZ coordinate of the point to retrieve.
Remarks
  • Reminder: For the data in a Surface chart, the XY plane constitutes the base of the surface while Z indicates the height of the point.
  • To retrieve data from a stock chart, it is recommended to use the grStockGetData function.
  • To retrieve data from a Scatterplot, it is recommended to use the grScatterGetDataXY function.
  • To retrieve a data from a chart, use grGetData.
Component: wd270grf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment