Gets and sets the axis order. | |
Syntax: | long = object.Order object.Order = long |
Description: | CimAxis.Order contains the position
of the axis in its collection with respect to other axes of the
same kind. The order of the axis determines where the axis is drawn
with respect to the other axes of the same kind. Axes draw from the
outside of the XY Plot Control to the inside as their order
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 order in the collection and the rightmost (or closest to the inside) has the highest order. 2. When Y axes are oriented to the right of the chart region, the rightmost (or closest to the outside) has the lowest order in the collection and the leftmost (or closest to the inside) has the highest order. 3. When X axes are oriented below the chart region, the bottommost (or closest to the outside) has the lowest order in the collection and the topmost (or closest to the inside) has the highest order. 4. When X axes are oriented above the chart region, the topmost (or closest to the outside) has the lowest order in the collection and the bottommost (or closest to the inside) has the highest order. Example The following CimView script excerpt sets the second X axis as the first: cimOleObj.X(1).Order = 0 |