Difference: CDAxisSetAxisRoundMin (1 vs. 2)

Revision 22012-02-25 - JeanNeron

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

.AXIS SET AXIS RND MIN

This subroutine controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value.

Revision 12011-11-09 - JeanNeron

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

.AXIS SET AXIS RND MIN

This subroutine controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value.


Usage:

      PASS         <rnd_min>                  FIELD            SHARE? N
      GOSUB    0CD .AXIS SET AXIS RND MIN
      *        Check for error
      IF       0CD .AXIS SET AXIS RND MIN     NE

Description:

This subroutine controls whether or not the minimum value of the "current" axis should be rounded to correspond with a tick value. You must have selected a "current" axis via .AXIS SET CURRENT before calling this routine.

For example, if the axis is from 0.33 - 9.7, Chart Director may round it to 0 - 10 so that the ends 0 and 10 are properly aligned with the ticks.

By default, Chart Director will round the axis ends for the y-axis, but not for the x-axis. An exception is a chart containing a scatter layer, where both x and y axes will be rounded.

Valid values for <rnd_min> are True, False or blank.

See also .AXIS SET AXIS RND MAX.

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