PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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.
Versions 24 and later
WEBDEV - Server code This function is only available for interactive charts.
New in version 24
WEBDEV - Server code This function is only available for interactive charts.
WEBDEV - Server code This function is only available for 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).
Versions 24 and later
WEBDEV - Server code In a page, this function is only available for interactive charts.
New in version 24
WEBDEV - Server code In a page, this function is only available for interactive charts.
WEBDEV - Server code In a page, this function is only available for 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: wd270grf.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment