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!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.