|
|
|
|
|
grStockGetData (Function) In french: grBourseRécupèreDonnée Retrieves a data from a stock chart (candlestick, barcharts or minmax).
// Display a data in the "CHART_MyChart" control. // This data is the first minimum value of the first series. Info(grStockGetData(CHART_MyChart, 1, 1, grMinValue))
Syntax
<Result> = grStockGetData(<Chart name> , <Series number> , <Index> , <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. By default, a chart created by grCreate contains no data.
- the name of the Chart control (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. <Index>: 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:
| | grEndValue | End value. | grMaxValue | Maximum value. | grMinValue | Minimum value. | grStartValue | Start value. |
Remarks - To retrieve data from a Scatter chart, it is recommended to use grScatterGetDataXY.
- To retrieve data from a Sunburst chart, it is recommended to use grSunburstGetData.
- To retrieve data from a Surface chart, it is recommended to use grSurfaceGetData.
- To retrieve data from a Heatmap chart, it is recommended to use grHMGetData.
- To retrieve data from another type of chart (Pie, Column, Line, etc.), we recommend that you use grGetData.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|