I´d like to make a barchart in SAS using proc sgplot/sgrender and be able to adjust the font color according to the fill color or the perticular segment value. The fill color could go from dark to light as the font at some value the font color switches from white to black to get a good contrast.
This is possible with proc gchart using a annotate dataset and the subgroup option which makes it to target a specific segment. This seems difficult when working categorical variables and graphs made with proc sgplot/sgrender.