CimAxes (object)

Represents a collection of axes.
Description: CimAxes represents a collection of axis objects. There are two kinds of axis collections defined in the XY Plot Control: X and Y. The X collection holds axes that flow from left to right or vice versa (hence X). The Y collection holds axes that flow from bottom to top or vice versa (hence Y).

Axes draw from the outside of the XY Plot Control to the inside as their position increases in the collection. This means that:

1. When Y axes are oriented to the left of the chart region, the leftmost (or closest to the outside) has the lowest index in the collection and the rightmost (or closest to the inside) has the highest index.

2. When Y axes are oriented to the right of the chart region, the rightmost (or closest to the outside) has the lowest index in the collection and the leftmost (or closest to the inside) has the highest index.

3. When X axes are oriented below the chart region, the bottommost (or closest to the outside) has the lowest index in the collection and the topmost (or closest to the inside) has the highest index.

4. When X axes are oriented above the chart region, the topmost (or closest to the outside) has the lowest index in the collection and the bottommost (or closest to the inside) has the highest index.

Example

The following CimView script excerpt shows how to traverse through each X axis:

Dim Axis as CimAxis
For Each Axis in cimOleObj.X
    If Axis.Mode = apAxisScrolled Then
        MsgBox "We found a scrolled axis."
    End If
Next
Properties: Count , Item
Methods: Add , Remove , RemoveAll