In reply to NN.

The VBAR and HBAR statements both support the COLORRESPONS= option. See https://blogs.sas.com/content/graphicallyspeaking/2017/09/10/bar-charts-color-response/

There is an interaction if you are using a GROUP= variable. For a GROUP= option, so you might need to use the STAT= and COLORSTAT= options. For example:

proc sgplot data=sashelp.cars;
vbar type / colorresponse=mpg_city colorstat=mean stat=mean group=origin groupdisplay=cluster;
run;

If this doesn't answer your question, you can post your questions and sample program to the SAS Support Communities.