Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
.XY SET BAR GAP:BTW |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
.XY SET BAR GAP:BTWThis subroutine sets the gap between the bars in a bar chart layer.Usage:PASS <bar_gap> FIELD SHARE? N GOSUB 0CD .XY SET BAR GAP:BTW * Check for error IF 0CD .XY SET BAR GAP:BTW NE Description:Sets the gap between the bars in a bar chart layer. The subroutine accepts 1 optional parameter:
<bar_gap> - The portion of the space between the bars (or between bar groups for multi-bar layers).
The gap between the bars is expressed as the portion of the space between the bars. For example, a bar gap of 0.2 means 20% of the distance between two adjacent bars is the gap between the bars. A bar gap of 0 means there is no gap in between the bars. The bar gap can be negative. In this case, the bars will overlap.
If you want to set the gap between multi-bar layers (bar layers using the Side data combine method, or for stacked bar layers with multiple data groups, see.XY ADD BAR LAYER), see .XY SET BAR GAP or .XY SET BAR GAP:WITHIN .
Values greater than or equal to 1 will result in one pixel wide bars, since 100% of the space is allocated to the gap. The larger the gap, the narrower the bars have to be to fit in the space.
Comments:Read what other users have said about this page or add your own comments.-- JeanNeron - 2011-10-14 |