ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Chart functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Configures how the axes are displayed in Line or Column charts. The axis can:
  • be visible,
  • be invisible,
  • display only the label.
Linux Caution: A specific configuration is required to use this function in Linux. For more details, see The charts.
Example
grAxisVisible(CHART_Chart1, grXCoordinate, grInvisible)
// or for compatibility
// grAxisVisible(CHART_Chart1, grXCoordinate, False)
Syntax
grAxisVisible(<Chart name> , <Type of axis> , <Visible>)
<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.
Android Only Chart controls are available.
PHP Only the interactive Chart controls are available.
<Type of axis>: Integer constant
Axis to use:
grXCoordinateX-axis.
grYCoordinateY-axis.
<Visible>: Integer constant
Axis display mode:
grInvisibleThe axis becomes invisible.
For backward compatibility, you can also use <Visible> = False.
grLabelOnlyOnly the labels of the axis are visible.
AndroidPHP Not available.
grVisibleThe axis becomes visible.
For backward compatibility, you can also use <Visible> = True.
Remarks
  • If the axis of Y-coordinates is invisible, the axis of secondary Y-coordinates is also invisible.
  • The parameters defined by grAxisVisible will be taken into account during the next call to grDraw.
Related Examples:
WD Chart Training (WINDEV): WD Chart
[ + ] This example presents the different uses of the Chart control.
Different types of charts are presented:
- Pie
- Sunburst
- Line
- Scatter
- Column
- Area
- etc.

The main features presented here are the possibility to customize of charts from the code, as well as to fill the chart from an HFSQL data file, or in the editor.
The Chart control Unit examples (WINDEV Mobile): The Chart control
[ + ] Using the Chart control to display different types of charts:
- Pie (or pie chart)
- Line
- Column chart
- Area
Business / UI classification: Neutral code
Component: wd290grf.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help