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
Displays or hides the chart gridlines.
Example of gridlines:
Gridlines of a chart
Reminder: The chart gridlines are invisible by default.
Example
// Display the horizontal gridlines in CHART_MyChart
CHART_MyChart.Gridlines(True, grXCoordinate)
Syntax
<Chart control>.Gridlines(<Display> , <Axis direction>)
<Chart control>: Control name
Name of the Chart control to use in the window, page or report editor.
<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).
Remarks
  • 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 the pie charts (grPie constant) and on the funnel charts (grFunnel constant).
  • The data defined by <Chart>.GridLines will be taken into account during the next call to <Chart>.Draw.
Business / UI classification : Neutral code
Component : wd250grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment