Internet Vision Software
Index : Common Attributes : YAxisPos Attribute

../online_help/images/n_admin.gif

Quick Reference...

Attribute Name
YAxisPos
Type Integer (0..2)
Summary: Sets the position of the Y axis on the X axis.

Description:

The YAXISPOS attribute sets the position of a 2D graph's Y axis--to the left, to the right, or in the middle of the graph--when you're using only one Y axis.

By default, the Graph control positions the Y axis automatically according to the graph's X values. If all values are positive, the Y axis is at the left; if all are negative, the axis is at the right; if there's a mix of positive and negative values, the axis is in the middle (intersecting the X origin).

By setting YAXISPOS to 1 (left) or 2 (right), you can override the default placement of the Y axis regardless of the X values.

Value Effect
0 Left, right, or middle, depending on X values (default)
1 Left
2 Right

In combination graphs with two Y axes, or a 3D graph, the YAxisPos setting is ignored.


Remarks:

{Remarks}

Example...

<CFXGRAPHICSSERVER ... YAxisPos="1" ... >

The Y Axis is positioned at the left hand end of the X axis.

Copyright 1999 Internet Vision Software Limited