.XY SET BAR LBL MIN SZ
This subroutine sets the minimum height (or width for horizontal bars) of the bar segments below which data labels will be hidden.
Usage:
PASS <min_size> FIELD SHARE? N
GOSUB 0CD .XY SET BAR LBL MIN SZ
* Check for error
IF 0CD .XY SET BAR LBL MIN SZ NE
Description:
Sets the minimum height (or width for horizontal bars) of the bar segments below which data labels will be hidden. The subroutine accepts 1 optional parameter:
<min_size> - The minimum length of the bar segments in pixels, below which data labels will be hidden.
In Chart Director, for a bar layer, data labels are drawn internal to the bar segment, while the aggregate labels are drawn external to the bar.
Chart Director will disable data labels for a bar segment if the bar segment is too short to contain the data label.
By default, Chart Director will automatically determine what is meant by "too short". This subroutine can be used to manually define the threshold for "too short".
Sometimes it may be desirable to display the data label even though it cannot be contained within the bar segment. In this case, this can be used to set the threshold to 0.
Comments:
Read what other users have said about this page or add your own comments.
--
JeanNeron - 2011-10-19