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
Displays or hides the chart gridlines.
Example of gridlines:
Gridlines of a chart
Reminder By default, a graph's gridlines are invisible.
Linux Caution: In Linux, this function requires a specific configuration. For more details, see The charts.
Ejemplo
// Display the vertical gridlines in "MyChart"
grGridlines("MyChart", True, grYCoordinate)
// Display the horizontal gridlines in CHART_MyChart
grGridlines(CHART_MyChart, True, grXCoordinate)
Sintaxis
grGridlines(<Chart name> , <Display> , <Axis direction>)
<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.
<Display>: Boolean
  • True if the grid must be displayed,
  • False otherwise.
<Axis direction>: Integer constant (or combination of constants)
Axis used for the gridlines:
grXCoordinate
(default value)
Marks on X-axis (horizontal axis).
grYCoordinateMarks on Y-axis (vertical axis).

The combination of these two constants is used to get a full gridlines (vertical and horizontal).
Observaciones
  • The gridlines are taken into account:
    • in Column charts (grColumn and grColumnStacked constants), Scatter charts (grScatter constant), Line charts (grLine constant) and Stock charts (grCandleStick, grBarCharts and grMinMax constants) when <Axis direction> corresponds to grXCoordinate.
    • in Scatter charts (grScatter constant), Line charts (grLine constant) and Stock charts (grCandleStick and grBarCharts constants) when <Axis direction> corresponds to grYCoordinate.
  • The gridlines have no effect on Pie charts (grPie constant) and Funnel charts (grFunnel constant).
  • The data defined by grGridlines will be taken into account during the next call to grDraw.
Clasificación Lógica de negocio / UI: Código neutro
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: 27/03/2025

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