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 April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
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.