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!!!

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 2216 views
  • 1 like
  • 3 in conversation