CimAxis.Orientation (property)

Gets and sets the axis orientation in relation to the XY Plot Control chart region.
Syntax: ApOrientationEnum = object.Orientation
object.Orientation = ApOrientationEnum
Description: CimAxis.Orientation contains the orientation of the axis in relation to the XY Plot Control chart region.

X axes can be oriented on either the top or bottom of the chart region. The value of this property defaults to apOrientationBottom for an X axis.

Y axes can be oriented on either the left or the right side of the chart region. The value of this property defaults to apOrientationLeft for a Y axis.

Example

The following CimView script excerpt sets the first X axis on top of the chart:
cimOleObj.X(0).Orientation = apOrientationTop