VD - I don't think it's possible right now in gchart hbar, without using annotate.
There's an open R&D request in to consider adding this feature, and I've added a link to this thread so the developers will know there is customer interest in this capability.
With SAS9.3 release, you can do this using the SGPLOT procedure by overlaying a scatter plot with MarkerChar option on a VBarParm statement. You would need to compute where to place the label since the bar is stacked, so it is similar to annotate. For prior release, you will have to use annotate.
Not to worry - using annotate is not that difficult!
Here's a bit of sample code to get you started...
data my_anno; set sashelp.class;
xsys='2'; ysys='2'; when='a';
function='label'; position='4'; text=name;
proc gchart data=sashelp.class anno=my_anno;
hbar sex / type=sum sumvar=weight nostats
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.