Fonction SAP BARC_SET_LEGEND_ATTRIB - Set attributes for the legend

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHART_ID BCNODES-CHART_ID I 4 Chart
COLOR_TYPE BCNODES-COLOR_TYPE C 2 X Legend color type
TEXT BCNVALS-VAL C 80 Name
USAGE BCDELETE-OBJ_TYPE C 1 Name usage


The color type is defined in customizing. If a color type is specifiedhere that does not exist then the default type '00' is used.
The color extends to the whole legend.
The first selected color type determines the appearance. The color typecannot be converted later.
The legend header or the footnote can be specified as a use for thename.
Value|Constant |Use
-----+------------------------+-------------------
'h' |BC_CONST-LEGEND_HEADER |Header
't' |BC_CONST-LEGEND_TRAILER |Footnote