_OUTPUT_ROTATE_BUTTON_ Method
Outputs the Rotate button
for the two-dimensional report
Syntax
CALL SEND(OBJID,'_OUTPUT_ROTATE_BUTTON_',
viewreport-flag,
url,
service,
initial-url,
across-variable,down-variable, analysis-variable,statistic-variable,down-variable,
graph-type,background-type,background-value,title, webeis-class,hideflag);
Required Arguments
- viewreport-flag
-
the View
Report button flag.
- url
-
the Application Broker
component of the URL.
- service
-
the Application Broker
service.
- initial-url
-
the URL of the initial
HTML page.
- across-variable
-
the across variable
that is selected.
- down-variable
-
the down variable that
is selected.
- analysis-variable
-
the analysis variable
to graph.
- statistic-variable
-
the statistic to graph.
- down-variable
-
the down variable to
graph.
- graph-type
-
the selected graph
type.
- background-type
-
the background type
(IMAGE or COLOR). This parameter is optional.
- background-value
-
the background value.
This parameter is optional.
- title
-
the HTML title page.
- webeis-class
-
the WEBEIS class name.
- hideflag
-
a hidden variables
flag. If hideflag = 1, variables are not output. This parameter is
optional.
Details
This method outputs
an HTML form that contains hidden fields that are necessary to process
the rotate request and output the
Rotate submit
button.
Example
The following example
illustrates the use of this method:
vrflag=1;
_url='/cgi-bin/broker?_PROGRAM=sashelp.webeis.mddbrpts.scl&_SERVICE=default
&_DEBUG=0&RPTTYPE=2&GRTYPE=BLOCK';
service='default';
mddblink='DYNAMIC';
across='Geographic';
down='Product+Line';
avar='ACTUAL';
stat='SUM';
grphdown='';
grtype='BLOCK';
bgtype='color';
bg='yellow';
title='';
webcls='SASHELP.WEBEIS.WEBEIS';
hideflag='1';
call send(webid,'_OUTPUT_ROTATE_BUTTON_',vrflag,_url,service,
mddblink,across,down,avar,stat,grphdown,grtype,bgtype,
bg,title,webcls,hideflag);
The following output
is produced:
<A href="../mddbapp.hlp/" onClick="this.href=clsurl('ROTATE=1
&_PROGRAM=SASHELP.WEBEIS.SHOWRPT.SCL')"TARGET="_parent">
<IMG CLASS="imgrotate" SRC="/my_images/btn_rot.gif" ALT="Rotate"BORDER=0>
</A>