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!
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.
Ready to level-up your skills? Choose your own adventure.