---+ .AXIS SET AXIS RND MAX _This subroutine controls whether or not the maximum value of the "current" axis should be rounded to correspond with a tick value._ <br />%TOC% ---++ Usage: <pre> PASS <rnd_max> FIELD SHARE? N GOSUB 0CD .AXIS SET AXIS RND MAX * Check for error IF 0CD .AXIS SET AXIS RND MAX NE </pre> ---++ Description: This subroutine controls whether or not the maximum value of the "current" axis should be rounded to correspond with a tick value. You must have selected a "current" axis via [[CDAxisSetCurrent][.AXIS SET CURRENT]] before calling this routine. <div id="_mcePaste">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.<br /><br />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.</div> Valid values for <rnd_max> are True, False or blank. See also [[CDAxisSetAxisRoundMin][.AXIS SET AXIS RND MIN]]. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2011-11-09
This topic: Main
>
WebHome
>
APPX510Features
>
CDChartDirectorDesignerAPI
>
CDChartDirectorXYChartRoutines
>
CDAxisSetAxisRoundMax
Topic revision: r2 - 2012-02-25 - JeanNeron
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback