PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 stock chart (candlestick, barcharts or minmax).
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
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
// 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 (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:
grStartValueStart value.
grEndValueEnd value.
grMaxValueMaximum value.
grMinValueMinimum value.
Remarks
Component : wd240grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment