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
  • Types of charts
  • Special cases
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
Adds a value to a data in a chart.
Linux Caution: Using this function under Linux requires a specific configuration.. For more details, see The charts.
Ejemplo
// Ajoute la valeur 7 à la deuxième donnée de la première série
grIncreaseData("MonGraphe", 1, 2, 7)
Sintaxis
grIncreaseData(<Chart name> , <Series number> , <Index> , <Value>)
<Chart name>: Control name or character string
Name of the chart to be used. This name corresponds to:
  • the name of the chart defined programmatically with grCreate.
  • the name of the Chart control in the window, page or report editor.
Android Only Chart controls are available.
PHP Only interactive Chart controls are available.
<Series number>: Integer
Number of the series into which a value will be added. If the specified series does not exist, the chart designer creates as many series as necessary in order to get a consistent matrix. All the created series are initialized to 0.
<Index>: Integer
Data index in the series. If the specified data does not exist, the chart designer creates as many data as necessary in order to get a consistent data matrix. The created data is initialized to 0.
Android The index of the data in the series must be a strictly positive integer.
<Value>: Integer or real
Value that will be added to the specified data.
Observaciones

Types of charts

For the Pie charts, only the data found in the first series will be used.

Special cases

  • The data defined by grIncreaseData will be taken into account during the next call to grDraw.
  • A series can contain up to 8000 elements.
  • A Pie chart cannot be drawn if the data found in the first series is null.
Componente: wd300grf.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 18/09/2024

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