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

Hi all! I'm hoping this might be an easy fix. I am trying to make a pie chart using  PROC GCHART and I would just like to remove the second title "FREQUENCY of org_type2". Anyone know how to do this? Thanks! 

 

title "Job Postings by Organization Type (N=55)";
proc gchart data=azprc.jobs;
pie org_type2 / percent=outside;
;
format org_type2 org.;
run;
quit;
 
keherder_0-1650636223045.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
maguiremq
SAS Super FREQ

Use the `noheading` option in the `pie` call.

 

data jobs;
infile datalines dsd missover;
input org_type2 :$25.;
datalines;
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Health Plan
Health Plan
Health Plan
Health Plan
Other
Other
Clinic
;

title "Job Postings by Organization Type (N=55)";
proc gchart data=work.jobs;
pie org_type2 / percent=outside noheading;
;
run;
quit; 
NOHEADING

suppresses the heading that is normally printed at the top of each page or display of output for all devices except Java and ActiveX.

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/graphref/p13h0w5vhbfvern1a23b0f3lvfyh.htm

View solution in original post

1 REPLY 1
maguiremq
SAS Super FREQ

Use the `noheading` option in the `pie` call.

 

data jobs;
infile datalines dsd missover;
input org_type2 :$25.;
datalines;
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Non-Profit or CBO
Health Plan
Health Plan
Health Plan
Health Plan
Other
Other
Clinic
;

title "Job Postings by Organization Type (N=55)";
proc gchart data=work.jobs;
pie org_type2 / percent=outside noheading;
;
run;
quit; 
NOHEADING

suppresses the heading that is normally printed at the top of each page or display of output for all devices except Java and ActiveX.

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/graphref/p13h0w5vhbfvern1a23b0f3lvfyh.htm

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
  • 1267 views
  • 1 like
  • 2 in conversation