Labels (XGRAPH command)
On categorical charts of individual cases, you
can specify a labeling variable by using [LABEL=varname]
in the chart expression. [LABEL=varname]
follows $CASENUM
in the chart expression.
[LABEL=varname]. The variable whose values are used as the tick labels instead of the case number.
Example
XGRAPH CHART=(salary [VALUE] [BAR]) BY $CASENUM[LABEL=gender]
> jobcat BY educ.