BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ManitobaMoose
Quartz | Level 8

This should be really simple. I just can't seem to find it and am in a hurry.

 

Here is the code:

Title "Percentage of Reported AIDS Cases To Persons with HIV Classified as Having AIDS" ;
Proc chart Data=SasData.HIV_Surveillance_Pct ;
Label Residence_Location = 'Residence Location' ;
    Vbar Residence_Location / freq=Diagnosed_AllPct ;                               
run ;                             
quit ;

 

How do I change the name on the Y axis from "Frequency" to "Percentage %" ?

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26
label freq='Percentage';
--
Paige Miller

View solution in original post

1 REPLY 1
PaigeMiller
Diamond | Level 26
label freq='Percentage';
--
Paige Miller

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1082 views
  • 0 likes
  • 2 in conversation