DATA Step, Macro, Functions and more

How to label axis in the syntax PROC gchart

Reply
Contributor
Posts: 48

How to label axis in the syntax PROC gchart

 

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?

 

 

Super User
Posts: 19,772

Re: How to label axis in the syntax PROC gchart

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?
Contributor
Posts: 48

Re: How to label axis in the syntax PROC gchart

sorry, i mean, I want to label the "_Equipment" as "AIRPLANES ",
Contributor
Posts: 48

Re: How to label axis in the syntax PROC gchart

So do you have any idea?
Contributor
Posts: 20

Re: How to label axis in the syntax PROC gchart

label _Equipment="Airplanes";

Contributor
Posts: 48

Re: How to label axis in the syntax PROC gchart

Thank you so much!!!! it works!!!
Ask a Question
Discussion stats
  • 5 replies
  • 199 views
  • 1 like
  • 3 in conversation