Usage Note 23692: In ODS HTML, how can I make the graphics file created with SAS/GRAPH a clickable hyperlink?
To make the graphics file created with SAS/GRAPH a clickable link, use the PRETEXT= and POSTTEXT=
attributes. The PREXTEXT= attribute specifies the HTML
tags to build the hyperlink to the image, and the
POSTEXT= attribute just adds the closing anchor tag.
See the Output.
proc template;
define style styles.test;
parent=styles.default;
style graph from graph /
pretext="<a href='http://www.sas.com'>"
posttext="</a>";
end;
run;
ods html path="c:\"(URL=NONE) file="temp.html"
style=styles.test;
proc gchart data=sashelp.class;
vbar height;
run;
quit;
ods html close;
See also the full PROC TEMPLATE FAQ and Concepts.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | SAS Reference ==> ODS (Output Delivery System) Query and Reporting ==> Creating Reports ==> Graphical
|
| Date Modified: | 2007-11-09 14:50:20 |
| Date Created: | 2004-02-13 10:41:01 |