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!
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.