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     [CLOSED] Pie chart and Table alignment issue in WEbFOCUS 8

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Pie chart and Table alignment issue in WEbFOCUS 8
 Login/Join
 
Member
posted
Hi All,

i tried to replicate my issue using Car file. the page has simple pie chart and table.Pie chart is displayed first and then followed by table.Using HTMLFORM i tried to place table on top of the pie chart but i cant see the pie chart.Only table is displayed.

TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.BODY.SALES
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE HOLD AS CARTAB FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EPMSERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END

ENGINE INT CACHE SET ON
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON GRAPH PCHOLD AS CARGRP FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 400.0
ON GRAPH SET VAXIS 405.0
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN

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


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Expert
posted Hide Post
I don't see the HTMLFORM in your code, and you should use HOLD for both the table and graph, then use HTMLFORM to include the two hold files:

TABLE FILE CAR
PRINT
CAR.ORIGIN.COUNTRY
CAR.BODY.SALES
CAR.CARREC.MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE HOLD AS CARTAB FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END
-RUN

ENGINE INT CACHE SET ON
-DEFAULTH &WF_TITLE='WebFOCUS Report';
GRAPH FILE CAR
-* Created by Info Assist for Graph
SUM CAR.BODY.SALES
BY CAR.ORIGIN.COUNTRY
ON GRAPH HOLD AS CARGRP FORMAT JSCHART
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET HAXIS 400.0
ON GRAPH SET VAXIS 405.0
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 0
ON GRAPH SET GRLEGEND 1
ON GRAPH SET GRXAXIS 0
ON GRAPH SET LOOKGRAPH PIEMULTI
ON GRAPH SET STYLE *
*GRAPH_SCRIPT
setPieDepth(0);
setPieTilt(0);
setDepthRadius(0);
setCurveFitEquationDisplay(false);
setPlace(true);
setPieFeelerTextDisplay(1);
*END
INCLUDE=IBFS:/FILE/IBI_HTML_DIR/javaassist/intl/EN/ENIADefault_combine.sty,$
TYPE=REPORT, TITLETEXT=&WF_TITLE.QUOTEDSTRING, $
*GRAPH_SCRIPT
setReportParsingErrors(false);
setSelectionEnableMove(false);
*END
ENDSTYLE
END
-RUN

-HTMLFORM BEGIN
!IBI.FIL.CARGRP;
!IBI.FIL.CARTAB;
-HTMLFORM END




Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
I did that ....forgot to put it in the forum


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Member
posted Hide Post
even if i swap the CARGRP and CARTAB positions it doesnt change the graph and table position


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Expert
posted Hide Post
-HTMLFORM BEGIN
!IBI.FIL.CARTAB;
!IBI.FIL.CARGRP;
-HTMLFORM END

Or
-HTMLFORM BEGIN
!IBI.FIL.CARGRP;
!IBI.FIL.CARTAB;
-HTMLFORM END


Though they look different, the program works for me




Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
You can add the following html tags to your -HTMLFORM code as follows if you want the graph and table centered on each other.
-HTMLFORM BEGIN
<table border=1><tr><td align=center>
!IBI.FIL.CARGRP;
!IBI.FIL.CARTAB;
</td></tr></table>
-HTMLFORM END
Change the border=1 to border=0 to turn off the border.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
Francis - i tried it already.
When i use this i get graph and then table.

HTMLFORM BEGIN
!IBI.FIL.CARGRP;
!IBI.FIL.CARTAB;
-HTMLFORM END

But when i use this i don't get table followed by graph.

-HTMLFORM BEGIN
!IBI.FIL.CARTAB;
!IBI.FIL.CARGRP;
-HTMLFORM END


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Member
posted Hide Post
Doug - Tried your method too but graph followed by table scenario is working fine but i want table and then graph.i tried everything but i don't get table before graph its always graph 1st.


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Expert
posted Hide Post
Did you heed this advice?
quote:
you should use HOLD for both the table and graph, then use HTMLFORM to include the two hold files


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
CuriousDev,
quote:
working fine but i want table and then graph

just change
!IBI.FIL.CARGRP;
!IBI.FIL.CARTAB;

to
!IBI.FIL.CARTAB;
!IBI.FIL.CARGRP;
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Member
posted Hide Post
Francis - Yes i used HOLD for both the table and graph and then used HTMLFORM to include both the hold files.

Doug - Yes i did that too. When i changed the sequence it didn't show table on top followed by graph.Actually it should work but in my case it didn't, that's why i posted this discussion in forums to get some advice .


WebFOCUS 8
Windows, All Outputs
 
Posts: 23 | Registered: April 16, 2015Report This Post
Expert
posted Hide Post
One of the things that is often overlooked is the semi colon that terminates the !IBI.FIL. syntax. This could easily account for the non-display of one or both of the items.

Right click the HTML output and view source. Then check at the bottom of the source for any error messages.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10 
 
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004Report 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     [CLOSED] Pie chart and Table alignment issue in WEbFOCUS 8

Copyright © 1996-2020 Information Builders