Difference: CDAxisSetCurrent (1 vs. 4)

Revision 42012-02-25 - JeanNeron

Line: 1 to 1
Changed:
<
<
META TOPICPARENT name="CDChartDirectorDesignerAPI"
>
>
META TOPICPARENT name="CDChartDirectorXYChartRoutines"
 

.AXIS SET CURRENT

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

Revision 32012-01-13 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.AXIS SET CURRENT

Line: 20 to 20
  The <axis_type> parameter is optional, and if passed, must be one of PRIMARY or SECONDARY. If not passed, the primary axis is assumed.
Changed:
<
<
Once you have selected the axis with this routine, you can set the various attributes of this axis via the other .AXIS routines.
>
>
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.

Revision 22011-11-09 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.AXIS SET CURRENT

Line: 6 to 6
 

Usage:

Changed:
<
<
* Req PASS         <axis_to_use>              FIELD            SHARE? N
* Opt PASS         <axis_type>                FIELD            SHARE? N
*     GOSUB    0CD .AXIS SET CURRENT

>
>
      PASS         <axis_to_use>              FIELD            SHARE? N
      PASS         <axis_type>                FIELD            SHARE? N
      GOSUB    0CD .AXIS SET CURRENT

 
    • Check for error
Changed:
<
<
* IF 0CD .AXIS SET CURRENT NE
>
>
IF 0CD .AXIS SET CURRENT NE
 

Description:

Revision 12011-11-09 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="CDChartDirectorDesignerAPI"

.AXIS SET CURRENT

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

Usage:

* Req PASS         <axis_to_use>              FIELD            SHARE? N
* Opt 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 this axis via the other .AXIS routines.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2011-11-09

 
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