Tags:
create new tag
view all tags

.AXIS SET CURRENT

This subroutine is called to set the specified axis ("x", "y") of the "current" chart to be the "current" axis.

Usage:

      PASS         <axis_to_use>              FIELD            SHARE? N
      PASS         <axis_type>                FIELD            SHARE? N
      GOSUB    0CD .AXIS SET CURRENT
      *        Check for error
      IF       0CD .AXIS SET CURRENT          NE

Description:

This subroutine selects either the "X" or "Y" axis to be the "currrent" axis. Each axis has both a primary and secondary axis. For the "Y" axis, the primary axis is on the left side of the chart, and the secondary axis is on the right side of the chart. For the "X" axis, the primary axis is on the bottom and the secondary axis is on the top. These axes are created for you automatically when you initialize a XY type chart (see .CHART INITIALIZE).

The <axis_to_use> parameter is required, and must be one of X, XAXIS, X AXIS, Y, YAXIS, Y AXIS. The subroutine will cancel if this parameter is not received.

The <axis_type> parameter is optional, and if passed, must be one of PRIMARY or SECONDARY. If not passed, the primary axis is assumed.

Once you have selected the axis with this routine, you can set the various attributes of the titles and labels via the other .AXIS routines.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2011-11-09

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2012-02-25 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback