AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de gráficos
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Retrieves a data from a "Scatter" chart.
Linux Caution: In Linux, this function requires a specific configuration. For more details, see The charts.
New in SaaS
Android This function is now available for Android applications.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 2. For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Ejemplo
// Display data in the "CHART_MyChart" control ("Scatter" chart). 
// This data is the first X-coordinate of first series.
Info(grScatterGetDataXY(CHART_MyChart, 1, 1, grXValue))
Sintaxis
<Result> = grScatterGetDataXY(<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,
  • the name of the Chart control (in the window, page or report editor).
PHP Only 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.
<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:
grXValueX value of series.
grYValueY value of series.
Observaciones
  • To retrieve data from a Stock chart, it is recommended to use grStockGetData.
  • To retrieve data from a Surface chart, it is recommended to use grSurfaceGetData.
  • To retrieve data from another type of chart (Pie, Column, Line, etc.), we recommend that you use grGetData.
  • To retrieve data from a Sunburst chart, it is recommended to use grSunburstGetData.
  • To retrieve data from a Heatmap chart, it is recommended to use grHMGetData.
  • We recommend that you use grScatterGetDataXY to retrieve data from "Scatter" charts. You can also use grGetData.
    The following syntax:
    grScatterGetDataXY(CHART_MyChart, i, 1, grXValue)
    grScatterGetDataXY(CHART_MyChart, i, 1, grYValue)
    est is equivalent to the syntax:
    grGetData(CHART_MyChart, i*2-1, 1)
    grGetData(CHART_MyChart, i*2, 1)
  • By default, a chart created by grCreate contains no data.
Componente: wd300grf.dll
Versión mínima requerida
  • Versión 20
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local