Date: Wed, 17 Jul 2002 11:49:06 +0200
Reply-To: Andre Wielki <wielki@INED.FR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Andre Wielki <wielki@INED.FR>
Subject: Re: proc template..?..
In-Reply-To: <agunc8$g84$1@kannews.ca.alcatel.com>
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
For the list:
Yesterday morning i have sent this final solution to J Green
but i forgot to put it on the list (in case there is anybody interested in
the solution)
Finally the best solution i have found is the following (transpose the data)
proc template;
define style styles.james;
parent=styles.default;
style contents from contents/pagebreakhtml=_undef_;
style contenttitle from index;
style contentprocname from indexprocname/bullet=none pretext='<!--'
posttext='-->';
replace contentitem from indexitem/bullet=circle;
*replace indexitem from container/listentryanchor=on bullet=none;
*optionnal because effect undetected;
end;
run;
ods listing close;
ods html body="bg.htm" contents="cg.htm" path="d:\ods\"(url=none)
frame="fg.htm" style=styles.james;
ods proclabel " ";
goptions device=gif;
proc gplot data=sasuser.fitness; by group;
plot runtime * runpulse/des=" CIDCBU_ #BYVAL(group) ";
run;
quit;
ods html close;;;
HTH
Andre
Basically I am creating an overlayed chart (volume vs metric) for every
product group (CIDCBU). This results in 7 plots with the TOC listing... I'd
like the TOC to display only the value of the CIDCBU variable with a link
in the frame which of course targets the body HTML file.
ie. the TOC should look like this;
· CIDCBU_1
· CIDCBU_2
· CIDCBU_3
· CIDCBU_4
· CIDCBU_5
· CIDCBU_6
· CIDCBU_7
___________
WIELKI Andre
INED - Service Informatique
133 Bd Davout,
75 980 Paris Cedex 20
FRANCE
Tel: 01 56 06 21 54