Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] 2 Graph Side By Side

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] 2 Graph Side By Side
 Login/Join
 
Member
posted
Please, I need help.
How can I get this example to be side by side.
So the left side of page would have Car and the right side would have Model.
This is the code that I have.
Thanks

-*IA_GRAPH_BEGIN
ENGINE INT CACHE SET ON
-DEFAULTH &WF_TITLE='WebFOCUS Report';


GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY CAR.COMP.CAR
ON GRAPH PCHOLD FORMAT HTML
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN


GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY MODEL
ON GRAPH PCHOLD FORMAT HTML
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setResizeBarMode (true);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN


-*IA_GRAPH_FINISH

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.7.02
Windows, All Outputs
 
Posts: 5 | Registered: February 13, 2014Report This Post
Expert
posted Hide Post
Break it up into 2 fex's and use the Document Composer in IA:



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Expert
posted Hide Post
Same concept is available in 7.7.02 per your signature:



Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Thanks Tom Flynn for your quick response, I have a big application builded in webfocus language, I need how to do 2 graph side by side, in the code, because I'm going to upgrade the old code.
Thanks a lot for your help,
Hernan


WebFOCUS 7.7.02
Windows, All Outputs
 
Posts: 5 | Registered: February 13, 2014Report This Post
Expert
posted Hide Post
  
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY CAR.COMP.CAR
ON GRAPH HOLD AS GRAPH1 FORMAT HTML
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY MODEL
ON GRAPH HOLD AS GRAPH2 FORMAT HTML
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setResizeBarMode (true);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
<TABLE>
<TR>
<TD>
!IBI.FIL.GRAPH1;
</TD>
<TD>
!IBI.FIL.GRAPH2;
</TD>
</TR>
</TABLE>
-HTMLFORM END

-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Thanks a lot Tom for your help, do you have any idea how it can be done exporting to PDF file, 2 graph Side By Side.
Thanks for your time,


WebFOCUS 7.7.02
Windows, All Outputs
 
Posts: 5 | Registered: February 13, 2014Report This Post
Expert
posted Hide Post
You need to take some classes, or, search a little bit and figure things out...

  
-* File 1_ck_cubes.fex
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY CAR.COMP.CAR
ON GRAPH HOLD AS GRAPH1 FORMAT JPEG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
CAR.SPECS.RPM
BY MODEL
ON GRAPH HOLD AS GRAPH2 FORMAT JPEG
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 450.0
ON GRAPH SET VAXIS 300.0
ON GRAPH SET GRMERGE ON
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET LOOKGRAPH VLINE
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setUseSeriesShapes(true);
setMarkerSizeDefault(50);
*END
INCLUDE=endeflt.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
setResizeBarMode (true);
setRiserBarGroupSpacing(50);
*END
ENDSTYLE
END
-RUN
TABLE FILE CAR
SUM
    COUNTRY NOPRINT
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET PAGE-NUM OFF
ON TABLE SET STYLE *
TYPE=REPORT, ORIENTATION=LANDSCAPE,
     IMAGE=GRAPH1.jpg,
     POSITION=(0.50000 0.25),
	 SIZE = (4.0625 2.50),$
TYPE=REPORT, ORIENTATION=LANDSCAPE,
     IMAGE=GRAPH2.jpg,
     POSITION=(5.50000 0.25),
	 SIZE = (4.0625 2.50),$
ENDSTYLE
END
-EXIT


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
 
Posts: 1972 | Location: Centennial, CO | Registered: January 31, 2006Report This Post
Member
posted Hide Post
Tom, you are the best, Thanks a lot.


WebFOCUS 7.7.02
Windows, All Outputs
 
Posts: 5 | Registered: February 13, 2014Report This Post
Member
posted Hide Post
You are right, I'm new in webfocus language, my background is in Microsoft's products, and My Company is planning some courses for me, in the meantime we are creating new things, different at we have already. Thanks for your advise and time.


WebFOCUS 7.7.02
Windows, All Outputs
 
Posts: 5 | Registered: February 13, 2014Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] 2 Graph Side By Side

Copyright © 1996-2020 Information Builders