BookmarkSubscribeRSS Feed
Nicoleta
Calcite | Level 5
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;
1 REPLY 1
Cynthia_sas
SAS Super FREQ
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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 587 views
  • 0 likes
  • 2 in conversation