Usage Note 23423: In ODS HTML output, how can I have the value of my BY variable show up in the table of contents for GPLOT and GCHART procedures?
The GPLOT and GCHART procedures have a DES= option that enables you to specify the BY
variable inside of the
#BYVAL( ) and places the value of the BY variable in the table of contents. Below is an example.
goptions device=gif;
ods html path='c:\test'(url=none)
body='bod.html'
contents='cont.html'
frame='fram.html';
proc gplot data=sasuser.class nocache;
plot age*sex / des='#BYVAL(age)';
by age;
quit;
ods html clse;
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) Third Party ==> Output ==> HTML
|
Date Modified: | 2003-10-22 15:29:37 |
Date Created: | 2003-09-29 18:54:57 |