SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Enhancing and Exporting Charts and Plots
Assigning Descriptive Labels


In the lesson Enhancing Reports, you learned to use LABEL statements to assign more descriptive text to the variables in your procedure output, as shown below. The LABEL statement has the same effect in SAS/GRAPH output. The LABEL statement below assigns labels to the variables BalanceDue and Company.

     proc gchart data=clinic.insure;
        vbar company / type=sum sumvar=balancedue
patternid=midpoint;
where company in ('A&R','ACME','RURITAN'); label balancedue='Balance Due' company='Insurance Co. Billed'; run;

Display plot with labels.



  back||next


Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement