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
Retrieves a data from a Surface chart.
Example
// Display a data in the "CHART_MyChart" control.
// This data is the X-coordinate of the first point.
Info(CHART_MyChart.SurfaceGetData(1, grXCoordinate))
Syntax
<Result> = <Chart control>.SurfaceGetData(<Subscript> , <Value to retrieve>)
<Result>: Real
Retrieved value.
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
<Subscript>: Integer
Data index defined by the order of addition in the chart.
If the data corresponding to the specified index 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 <Chart>.StockGetData.
  • To retrieve data from a Scatter chart, it is recommended to use <Chart>.ScatterGetDataXY.
  • To retrieve a data from a chart, use <Chart>.GetData.
Component: wd290grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help