如何更改 SAS 中不同条形的颜色?

How do I change colours of different bars in SAS?

proc sgplot data=WORK.CUSTOMERDATA;
    title height=14pt "Bar Chart of Gender";
    vbar Gender / fillattrs= (color=CX024ae6) datalabel;
    
    yaxis grid;
run;

ods graphics / reset;
title;

如何更改单个条形的颜色?我试过 fill= 和 styleattrs datacolors= 但它似乎不起作用..

如果您希望有一种颜色用于毕业的而另一种颜色用于没有毕业的,以下应提供所需的输出

proc sgplot data=customerdata;
title height=14pt "Bar Chart of Graduated";
styleattrs datacolors=(blue red) ;
vbar Graduated / group=Graduated filltype=solid datalabel;
yaxis grid;
run;