Contents MDDB Report Viewer Methods Previous Next
 

_OUTPUT_ROTATE_BUTTON_ Method

Outputs the Rotate button for the two-dimensional report. This method outputs an HTML form that contains hidden fields necessary to process the rotate request and output the "Rotate" submit button.

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);

Where... Is Type... And Contains...
viewreport-flag N The View report button flag.
url C The Broker component of the URL.
service C The Broker service that is being used.
initial-url C The URL of the initial HTML page.
across-variable C The selected across variable.
down-variable C The selected down variable.
analysis-variable C The analysis variable to be graphed,
statistic-variable C The statistic to be graphed.
down-variable N The down variable for graphing.
graph-type N The selected graph type.
background-type C An optional background type (IMAGE or COLOR).
background-value C An optional background value.
title C The HTML title page.
webeis-class C The Webeis class name.
hideflag C A hidden variables flag (1=variables are not output). This parameter is optional.

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);


This example produces the following output:
<A HREF="" 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>

Contents MDDB Report Viewer Methods Previous Next