BookmarkSubscribeRSS Feed
DingDing
Quartz | Level 8

 

proc gchart data=AIRPLANES;
hbar3d _Equipment /sumvar= number_of_flights
label ="AIRPLANES ";
TITLE "the barplot of airplanes used in national US flights (higher than 500)";
run;quit;

Hi, I draw a 3D barplot, and I want to label the "_Equipment" as "_Equipment", but it doesn't work, as time is very urgent to make a report, is there any one tell me how to label  the axis in this case?

 

 

5 REPLIES 5
Reeza
Super User
You don't appear to be using LABEL properly. Check the docs. It also looks like you want to label _Equipment as _Equipment so it would be the same?
DingDing
Quartz | Level 8
sorry, i mean, I want to label the "_Equipment" as "AIRPLANES ",
DingDing
Quartz | Level 8
So do you have any idea?
slangan
Obsidian | Level 7

label _Equipment="Airplanes";

DingDing
Quartz | Level 8
Thank you so much!!!! it works!!!

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
  • 5 replies
  • 2044 views
  • 1 like
  • 3 in conversation