Indicates the position where one of the chart axes (X or Y-coordinates) will be drawn.
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).
<Axis>: Integer constant
Axis to position: | |
grXCoordinate | Axis of X-coordinates (X-axis). |
grYCoordinate | Axis of Y-coordinates (Y-axis). |
<Position>: Integer constant
Position where the axis must be placed. | |
grMax | The axis is placed on the maximum mark of the chart. |
grMin | The axis is placed on the minimum mark of the chart. |
grZero | The 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.