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!
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
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
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: