Hi Everyone, the code below works but produces the following table of contents:
Data Sample
Data Sample
I would like to produce the following table of contents:
Data Sample
Let me know how to change the TOC. Thanks.
%macro graph1(inds=, var=, vard=,);
ods graphics on;
ods tagsets.sasreport13 (ID=EGSR) gtitle;
title "Data Sample Graph";
ods proc label "Data Sample";
proc sgplot data=&inds description="&vard";
yaxis type=Time interval=month;
yaxis label='Complete' ;
series x=period_dt y=complete_pct / lineattrs=(color=red) legendlabel='Count';
run;
ods graphics off;
%mend;
ods html path=&folder
body='body1.html'
contents='contents1.html'
frame='main1.html';
%graph1(inds=workdata, var=var1, vard=Testing Var);
ods html close;
%graph1(inds=workdata, var=var2, vard=Testing Var2);