Is it possible to format datalabels in SGplot? I've got a bar char with datalabels and would like to format them comma6.
Thanks,
Brian Adams
try adding a
Format variablname comma6.;
to the proc and see.
Generally works for me.
try adding a
Format variablname comma6.;
to the proc and see.
Generally works for me.
Who woulda thunk
Thanks,
And you can use Label varname = 'Temporarily different variable label'; as well.
I think SGPlot respects the format of the variable in the dataset--if you have your x-variable formatted as comma., then it will show up with commas for each 1,000
Thanks again!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.