.AXIS SET TICK OFFSET

This subroutine sets the offset of the ticks on the "current" axis.


Usage:

      PASS         <tick_offset>              FIELD            SHARE? N
      GOSUB    0CD .AXIS SET TICK OFFSET
      *        Check for error
      IF       0CD .AXIS SET TICK OFFSET      NE

Description:

This subroutine sets the offset of the ticks on the "current" axis. You must have selected a "current" axis via .AXIS SET CURRENT before calling this routine.

If a parameter is not received or if the value received is blank, then the value is cleared and the default offset will be used.

The offset is specified in axis scale units. For example, an offset of 50 means the tick is shifted 50 units along the axis while a value of .5 will shift the tick half of a scale unit.

By default, the ticks are center aligned with the labels. This subroutine is commonly used to shift the ticks to put them in between the labels. Also see .AXIS SET LBL OFFSET to shift the labels instead of the tick marks.

Comments:

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


 

-- JeanNeron - 2011-11-09

This topic: APPX > WebHome > APPX510Features > CDChartDirectorDesignerAPI > CDChartDirectorXYChartRoutines > CDAxisSetTickOffset
Topic revision: 24 Feb 2012, JeanNeron
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback