Date: Thu, 7 Sep 2006 17:06:04 +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: ods tagsets.htmlpanel alignment question
In-Reply-To: <8B5E9B95CC245C46A68BF4495A29A7EEB3C356@chpdm-mail.chpdm.umbc.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hello Jack,
Now that i have had some time to test
i can answer to your mail of end august.
by default the graph (left) part is larger than the dimension you indicate
but if you reduce the vsize and hsize the graph is reduced
on the other right part (tested with tabulate not with report)
i was first avoiding titles because if they are not empty they were leaving some '
on output but in fact no and this is a way to control the vertical align
HTH
Andre
ps i test it into firefox with java as activex is limited to only IE a microsoft product!
test program (from your code but adapted)
about the warning, i am doubtfull about the exact meaning of sas documentation
the use of vsize and hsize in activex or java context are
indicated as yes (partially)!
ods listing close;
ods tagsets.htmlpanel
path='c:\temp'(url=none)
body="htmlpanel.html"(title="DHMH DSS") ;
* parameters=("DRILLTARGET"="_self")
;
goptions reset=all device=java vsize=5 cm hsize=10 cm; *activex;
ods tagsets.htmlpanel options(panelcolumns='2' panelborder='4'
embedded_titles='yes') event=panel(start);
proc gchart data=sashelp.class;
vbar3d sex / sumvar=age name ="nomdr1";* html=drill;
run;
quit;
title1 h=2 cm ' ' ;
title2 ' ';
proc tabulate data=sashelp.class style={font_size=6pt} ;
class sex age;
var height weight;
table age all,sex*(height weight)*mean;
run;
ods tagsets.htmlpanel event=panel(finish);
/* other procedure output (not included in the panel) is generated here */
ods tagsets.htmlpanel close;
ods listing;
Jack Clark a écrit :
> Hello,
>
>
>
> I have recently started using ODS tagsets.htmlpanel. I am very much a
> beginner.
>
>
>
> I am generating an html page with 2 panels (side-by-side). The output in
> the left panel (from PROC GCHART) is significantly larger in size than the
> output in the right panel (from PROC REPORT). Currently, the output in the
> right panel is aligned to the top of the panel.
>
>
>
> How can I control the vertical alignment of the output in the right panel to
> center it?
>
>
>
> Thank you for any assistance.
>
>
>
>
>
> Jack Clark
>
> Research Analyst
>
> Center for Health Program Development and Management
>
> University of Maryland, Baltimore County
>
>
--
Andre Wielki
INED (Institut National d'Etudes Démographiques)
133 Boulevard Davout 75980 Paris Cedex 20
33 (0) 1 56 06 21 54 FRANCE