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 stock chart (candlestick, barcharts or minmax).
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
// Display a data in the "CHART_MyChart" control.
// This data is the first minimum value of the first series.
Info(CHART_MyChart.StockGetData(1, 1, grMinValue))
Syntax
<Result> = <Chart control>.StockGetData(<Series number> , <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).
<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
Index of data in the series for which the value will be retrieved.
If the data corresponding to the specified index does not exist in the series, the retrieved value is 0.
<Value to retrieve>: Integer constant
Indicates the value to retrieve:
grEndValueEnd value.
grMaxValueMaximum value.
grMinValueMinimum value.
grStartValueStart value.
Remarks
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