Graphs 1:

Graphs 2:

SAS Code:

ods listing gpath="%sysfunc(getoption(work))";

ods graphics on/reset=all;

ods graphics on/width=20cm height=10cm imagename="&alert_id." antialias=on;

*options orientation=landscape;

ods listing close;

ods rtf file="&temp_rtf_location./&outputname._&alert_id..RTF";

*style=Graph_Style;

ods escapechar = '^';

ods rtf text='^\pard';

ods rtf text='{\*\TABLE_ABOUT_TO_START}';

ODS RTF TEXT='^{newline 1}';

/*Set the graphics environment*/

goptions reset=all cback=white border htitle=12pt htext=10pt;

/*** Graphs for Values ***/

axis1 label= none split='/' value=("C" "D" height=0.5);

axis2 minor=(number=1) label=(angle=90 height=1 "Value");

axis4 minor=(number=1) label=(angle=90 height=1 "Volume");

axis3 label=none value=(angle=315 height=1);

/* Bar legend */

legend1 position=(bottom left outside) across=1

label=(position=(top ) j=l "Account ID");

/* Line plot legend */

legend2 position=(bottom right outside) across=1 repeat=1

label= none /*(position=(top) j=l None)*/ ;

title1 "Graph summary for transactions (vs) Value ";

proc gchart data= graph_summary_data;

/*where Tran_Group = "&loopvar";*/

format value comma15.;

vbar credit_or_debit /sumvar=value subgroup=acct_id group= eop legend=legend1 maxis=axis1 raxis=axis2 gaxis=axis3 width=1 space=.1 gspace=3 levels=2;

run;

quit;

title1 "Graph summary for transactions (vs) Volume ";

proc gchart data= graph_summary_data;

/*where Tran_Group = "&loopvar";*/

vbar credit_or_debit / sumvar=Volume subgroup=acct_id group=eop legend=legend1 maxis=axis1 raxis=axis4 gaxis=axis3 width=1 space=.1 gspace=3 levels=2;

run;

quit;

ods rtf close;

INTERNAL