Help using Base SAS procedures

how to ANNOTATE a BLOCK GCHART

Reply
N/A
Posts: 1

how to ANNOTATE a BLOCK GCHART

Hi
I’m trying to annotate a block chart as below but it doesn’t work. I don’t know where the mistake is, please help.

Thank you,
Nicoleta

data work.label(keep=function color text position y when group) ;
retain when 'A' function 'label' color 'black';
length function color $8 text $7 position $1;
set work.for_the_qtr_table(rename=(count=y group_cat=group));
position='2';
text=left(put(y,7.));
run;

proc gchart data=for_the_qtr_table;
block quarter/sumvar=count group=group_cat type=sum shape=cylinder
annotate=work.label;
run;
quit;
SAS Super FREQ
Posts: 8,868

Re: how to ANNOTATE a BLOCK GCHART

Hi:
Have you checked your SAS log for notes/errors? This documentation on ANNOTATE notes and error messages may help you.
http://support.sas.com/documentation/cdl/en/graphref/61884/HTML/default/a002246700.htm

Your best bet for help may be to open a track with Tech Support, as they can look at your data (which is being used to create the ANNOTATE data set) and help you find a resolution. To open a track with Tech Support, go to:
http://support.sas.com/ctx/supportform/createForm

cynthia
Ask a Question
Discussion stats
  • 1 reply
  • 98 views
  • 0 likes
  • 2 in conversation