This is an ODS Graphics issue, not a stored process issue. You can reproduce the problem outside of a stored process by submitting this code:
The image map created looks like this:
data work.sgplot_anno;
function = 'text';
label = 'Chart Title';
url = 'https://www.sas.com';
textstyleelement = 'GraphTitleText';
textcolor = 'blue';
width = 100;
anchor = 'top';
y1 = 100;
drawspace = 'GraphPercent';
run;
ods graphics on / imagemap=on drilltarget='_self';
ods graphics / width=3.5in height=2.5in;
title;
ods _all_ close;
ods html path='C:\temp' file='temp.htm' style=HTMLBlue;
proc sgplot data=sashelp.class sganno=work.sgplot_anno pad=(top=25px);
vbar age;
run; quit;
ods html close;
<Area shape="poly" href="https://www.sas.com" target="_BLANK" coords="135.5,0.0,200.5,0.0,200.5,19.40625,135.5,19.40625,135.5,0.0,135.5,0.0"/>
The solution is to add the DRILLTARGET option to your ODS GRAPHICS statement:
ods graphics on / imagemap=on drilltarget='_self';
The image map created now looks like this:
<Area shape="poly" href="https://www.sas.com" target="_self" coords="135.5,0.0,200.5,0.0,200.5,19.40625,135.5,19.40625,135.5,0.0,135.5,0.0"/>
Vince DelGobbo
SAS R&D
... View more