GDDM-PGF V2R1.3 Programming Guide and Reference
|
Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF |
BOOK
CHLC GDDM-PGF V2R1.3 Programming Guide and Reference SC33-0333-01 |
|
Function: To specify component line color table. CHLC (count, colors) Parameters count (specified by user) (fullword integer)
colors (specified by user) (an array of fullword integers) An array of fullword integers indicating the color codes used consecutively for components. For valid values of color, see Appendix C. Colors, line types, markers, and shading patterns in topic C.0. Example If the line in the first two data components (for example, lines on a line graph) is to be green and the third red, enter the following:
DCL LCARRAY FIXED BIN(31) INIT(4,4,2);
CALL CHLC (3,LCARRAY);
In this example, 3 is the number of attribute values, 4 means green, and 2
means red.
Marker and shading colors are controlled by the CHCOL call. Note: The table is used cyclically and therefore, in this case, the fourth component (if any) would be green. Description Overrides the default table of line color attributes used for data representation lines on, for example, line graphs; for outlines on, for example, bar charts; and for x slices on table charts. Colors are taken from the line color table in sequence to construct each data component, pie slice, or Venn diagram circle. The default line color attribute table is the basic color attribute table, whether this is specified explicitly in CHCOL or allowed to default. Valid only in state-1. Principal errors
|
Copyright IBM Corporation 1990, 2012 |