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 "Scatter" chart.
Linux Caution: A specific configuration is required to use this function in Linux. See The charts for more details.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Display data in the "CHART_MyChart" control ("Scatter" chart).
// This data is the first X coordinate of first series.
Info(CHART_MyChart.ScatterGetDataXY(1, 1, grXValue))
Syntax
<Result> = <Chart control>.ScatterGetDataXY(<Series number> , <Subscript> , <Value to retrieve>)
<Result>: Real
Retrieved value.
<Chart control>: Control name
Name of the Chart control used (found in the window editor, page editor 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
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:
grXValueX value of series.
grYValueY value of series.
Remarks
  • To retrieve data from a Stock chart, we recommend that you use <Chart>.StockGetData.
  • To retrieve data from a Surface chart, we recommend that you use grSurfaceGetData.
  • To retrieve data from another type of chart (Pie, Column, Line, etc.), we recommend that you use <Chart>.GetData.
  • To retrieve data from a Sunburst chart, we recommend that you use <Chart>.SunburstGetData.
  • Versions 21 and later
    To retrieve data from a Heatmap chart, we recommend that you use <Chart>.HMGetData.
    New in version 21
    To retrieve data from a Heatmap chart, we recommend that you use <Chart>.HMGetData.
    To retrieve data from a Heatmap chart, we recommend that you use <Chart>.HMGetData.
  • We recommend that you use <Chart>.ScatterGetDataXY to retrieve data from "Scatter" charts. You also have the ability to use <Chart>.GetData.
    The following syntax:
    CHART_MyChart.ScatterGetDataXY(i, 1, grXValue)
    CHART_MyChart.ScatterGetDataXY(i, 1, grYValue)
    is equivalent to the syntax:
    CHART_MyChart.GetData(i*2-1, 1)
    CHART_MyChart.GetData(i*2, 1)
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment