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
CHART_Chart1.AxisVisible(grXCoordinate, grInvisible)
// or for compatibility
// CHART_Chart1.AxisVisible(grXCoordinate, False)
Syntax
<Chart control>.AxisVisible(<Type of axis> , <Visible>)
<Chart control>: Control name
Name of the Chart control to use (in the window, page or report editor).
<Type of axis>: Integer constant
Axis to use:
grXCoordinateX-axis.
grYCoordinateY-axis.
<Visible>: Boolean
Axis display mode:
grInvisibleThe axis becomes invisible.
For backward compatibility, you can also use <Visible> = False.
grLabelOnlyOnly the labels of the axis are visible.
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 <Chart>.AxisVisible will be taken into account during the next call to <Chart>.Draw.
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
Component: wd290grf.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help