Contents MDDB Report Viewer Methods Previous Next
 

_OUTPUT_STANDARD_GRAPH_ Method

Outputs the URL that drives the Standard GIF Graph request.

Syntax

 CALL SEND(OBJID,'_OUTPUT_STANDARD_GRAPH_',url,service,
                graph-type,analysis-variable,statistic-variable,
                down-variable,across-variable,webcls);

Where... Is Type... And Contains...
url C the URL for the next query.
service C the Broker service that is being used.
graph-type C the selected graph type.
analysis-variable C the analysis variable to be graphed.
statistic-variable C the statistic to be graphed.
down-variable C the down variable for graphing.
across-variable C the analysis variable for graphing.
webcls C the WEBEIS class name.

Example

The following example illustrates the use of this method:
url='/cgi-bin/broker';
service='default';
grphtype='VBAR';
grphvar='ACTUAL';
grphstat='SUM';
grphdown='COUNTRY';
grphacr='PRODTYPE';
webcls=' ';
call send (webid,'_OUTPUT_STANDARD_GRAPH_',url,service,
           grphtype,grphvar,grphstat,grphdown,grphacr,
           webcls);

  
The code produces the following output:

<BR><BR><P>
<IMG CLASS="graph" SRC="/cgi-bin/broker?_program=sashelp.webeis.grf2way.scl
&_service=default&mddb=SASHELP.PRDMDDB&metabase=SASHELP.MBEIS&D=Geographic&AC=Product%20Line
&A=ACTUAL&S=SUM&grt=VBAR&gv=Actual%20Sales&gs=Sum&gd=COUNTRY&DC=1&ACB=1
&gac=PRODTYPE&GSB=PRODTYPE=TOTAL&SL=%20" ALT="Please wait."
ALIGN=CENTER WIDTH=600 HEIGHT=450 BGCOLOR=SILVER></P>


Contents MDDB Report Viewer Methods Previous Next