- Taking the orientation into account
grOrientation (Function) In french: grOrientation Modifies the orientation of chart axes.
// Reverses the X-axis and the Y-axis // Chart created through programming grOrientation("MyChart", grYCoordinate, grAtLeft, grAtBottom)
// Reverses the X-axis and the Y-axis // Chart control grOrientation(CHART_MyChart, grYCoordinate, grAtLeft, grAtBottom)
Syntax
grOrientation(<Chart name> [, <First axis> [, <Orientation of horizontal axis> [, <Orientation of vertical axis>]]])
<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.
<First axis>: Optional constant Type of coordinates to display on the horizontal axis: | | grXCoordinate (default value) | X-coordinates are displayed on the horizontal axis. | grYCoordinate | Y-coordinates are displayed on the vertical axis. |
<Orientation of horizontal axis>: Optional constant Orientation of the horizontal axis: | | grAtLeft | The horizontal axis is oriented to the left (the negative values are on the right and the positive values are on the left). | grAtRight (default value) | The horizontal axis is oriented to the right (the negative values are on the left and the positive values are on the right). |
<Orientation of vertical axis>: Optional constant Orientation of vertical axis: | | grAtBottom | The vertical axis is oriented to the bottom (the negative values are at the top and positive values are at the bottom). | grAtTop (default value) | The vertical axis is oriented to the top (the negative values are at the bottom and positive values are at the top). |
Remarks Taking the orientation into account The change of orientation is taken into account during the next call to grDraw.
This page is also available for…
|
|
|
|