_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.
Type:Numeric
url
the Application Broker component of the URL.
Type:Character
service
the Application Broker service.
Type:Character
initial-url
the URL of the initial HTML page.
Type:Character
across-variable
the across variable that is selected.
Type:Character
down-variable
the down variable that is selected.
Type:Character
analysis-variable
the analysis variable to graph.
Type:Character
statistic-variable
the statistic to graph.
Type:Character
down-variable
the down variable to graph.
Type:Numeric
graph-type
the selected graph type.
Type:Numeric
background-type
the background type (IMAGE or COLOR). This parameter is optional.
Type:Character
background-value
the background value. This parameter is optional.
Type:Character
title
the HTML title page.
Type:Character
webeis-class
the WEBEIS class name.
Type:Character
hideflag
a hidden variables flag. If hideflag = 1, variables are not output. This parameter is optional.
Type:Character

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>