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
Indicates the position where one of the chart axes (X or Y-coordinates) will be drawn.
WEBDEV - Server code This function is only available for non-interactive charts.
Example
grAxisPosition(CHART_MyChart, grXCoordinate, grMin)
Syntax
grAxisPosition(<Chart name> , <Axis> , <Position>)
<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).
WEBDEV - Server code In a page, this function is only available for non-interactive charts.
<Axis>: Integer constant
Axis to position:
grXCoordinateAxis of X-coordinates (X-axis).
grYCoordinateAxis of Y-coordinates (Y-axis).
<Position>: Integer constant
Position where the axis must be placed.
grMaxThe axis is placed on the maximum mark of the chart.
grMinThe axis is placed on the minimum mark of the chart.
grZeroThe axis is placed on mark 0.
This constant corresponds to the default display of charts.
Remarks
  • This function can be used on all the types of charts that display an axis.
  • This function is used to modify the primary axis of Y-coordinates. The secondary axis of Y-coordinates is always placed opposite of the primary axis of Y-coordinates.
Component: wd290grf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help