Hello, this is my first attempt to annotate a graph proceedure. I am looking to label a individual endpoint. In the below example I am using "wowididit" but this later would be replaced by the actual value. I have created the annotation data set. Then built the template for a Layout Datapanel view with a CLASSVAR (perhaphs this is my issue). I am receiving no errors, however there also is nothing being annimated on the graphical output. Any guidance or suggestions would be greatly appreciated. Thank you.
/* make annotation dataset */
LENGTH function style color $8. text $25.;
RETAIN hsys xsys ysys "5";
/* series graph template */
DEFINE STATGRAPH SERIES_PLOT1_1;
BEGINGRAPH /DATACOLORS=(yellow CX000A23 CX0073CF CXE31837 CXD1C9C0 CX00AD50) DATALINEPATTERNS=(4);
ENTRYTITLE TEXTATTRS=(FAMILY="Calibri" SIZE=8pt)'ITP Completed In <= 10 Days' ;
LAYOUT DATAPANEL CLASSVARS=(LOANPURPOSEGROUP) / rowdatarange=unionall ROWS=2
ROWAXISOPTS = (display=(tickvalues)
label=("ITP <= 10 Days") labelattrs=(FAMILY="Calibri" SIZE=8pt))
label=("Loan Age In Calendar Days") labelattrs=(FAMILY="Calibri" SIZE=8pt));
discretelegend 'series' / TITLEATTRS=(FAMILY="Calibri" SIZE=8pt) ;
SERIESPLOT x=DAY_CT y=ITD_LT10_PCT / GROUP=APPDT_YYYYMM NAME='series' ;
PROC SGRENDER DATA=WORK.CUMM_GRAPH_EXCL_CANC TEMPLATE=SERIES_PLOT1_1 SGANNO=SERIESANNO;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.