GDDM-PGF V2R1.3 Programming Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF | BOOK


CHGAP

GDDM-PGF V2R1.3 Programming Guide and Reference
SC33-0333-01



Function: To specify spacing between bars.


   CHGAP       (gap-to-bar-ratio)

APL code 765 PGF RCP code X'10020610' (268568080)


Parameters



gap-to-bar-ratio (specified by user) (short floating point)
A positive or zero short floating-point value that specifies the ratio of the gap between bars to the bar width. If gap-to-bar-ratio is set to zero, bars have common lines that may appear in unexpected colors because of color mixing.


If gap-to-bar-ratio is a negative number and CHGAP is used before CHBAR or CHBARX calls, the bars in the chart are positioned so that they partially overlap; that is, a bar is partially hidden behind the previous one. Values close to -1 are not recommended.

If a negative value is used before a CHTOWR call (for a tower chart), a value of zero is used. (The user-defined value remains unchanged.) The CHZGAP call allows you to specify the gap in the z-axis direction. Refer to "CHZGAP - Spacing between towers" in topic 4.95 for details of this call.

The total length of the axis must accommodate all bars and gaps. As this parameter is increased, the actual bar width decreases. It is therefore possible to produce bars that appear as single lines.

Description


Overrides the default ratio of the gap between adjacent bars to the bar width (in bar charts) or adjacent towers to the tower width (in tower charts). See Figure 14 in topic 4.21 and compare CHGGAP.

The default ratio is half the bar width (0.5).

Valid in state-1 or state-2.

Principal errors


ADM0523 E
PARAMETER IS LESS THAN THE ALLOWABLE MINIMUM

Go to the previous page Go to the next page



Copyright IBM Corporation 1990, 2012