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]Graph components cannot be set as Flowing

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed]Graph components cannot be set as Flowing
 Login/Join
 
Gold member
posted
Hi all,
In document composer (WF 7.6.11), the report components could be set to ‘Flowing’, however graphs could not. A new feature request has been submitted to make this feature available in graphs as well. The problem that this has caused for us is that on the new page where the page bursts, everything is fine, but in the subsequent pages, the top half of the page is blank and the information is displayed on the bottom half of the pages until a new burst value is detected. In a essence, if a coordinated compound report consists of both graph and report, then all components have to be in fixed positions in order for related information to appear together.


While waiting on the new feature, I worked on changing a sample coordinated compound report that I received from IBI that contained one report and two graphs and decided to convert the two graphs into reports. I figured that once all of my components are reports, then, I could set the ‘Size and Overflow’ property to ‘Flowing’ and this would eliminate the wasted blank on the top of the page(s). However, this doesn’t seem to work either as report 3 component would overlay on report 2.

Here is the script that uses GGSALES table. Can anyone offer a working suggestion? When this report is run, page 1 should have report 1 at the top, report 2 below that and report 3 at the bottom and on page 2, I like to see report1 again and then report 3 listed with one or two lines separating reports 1 and 3 and so on.

Thank you,

-* File testGGSALES4.fex
-* Default Mode: ResourceLayout
SET HTMLARCHIVE=ON
COMPOUND LAYOUT PCHOLD FORMAT PDF
UNITS=IN, $
SECTION=section1, LAYOUT=ON, METADATA='0.5^0.5^0.5^0.5^1', MERGE=ON, ORIENTATION=PORTRAIT, PAGESIZE=Letter,  $
PAGELAYOUT=1, NAME='Page layout 1', text='Page layout 1', TOC-LEVEL=1, BOTTOMMARGIN=0.5, TOPMARGIN=0.5, METADATA='BOTTOMMARGIN=0.5,TOPMARGIN=0.5,LEFTMARGIN=0,RIGHTMARGIN=0,', $
COMPONENT='report1', TEXT='report1', TOC-LEVEL=2, POSITION=(0.521 0.521), DIMENSION=(3.021 0.833), METADATA='Z-INDEX: 100; POSITION: absolute; WIDTH: 3.021in; HEIGHT: 0.833in; OVERFLOW: auto; TOP: 0.521in; LEFT: 0.521in', $
COMPONENT='report2', TEXT='report2', TOC-LEVEL=2, POSITION=(0.727 1.567), DIMENSION=(6.978 3.750), METADATA='Z-INDEX: 103; POSITION: absolute; WIDTH: 6.978in; HEIGHT: 3.75in; OVERFLOW: auto; TOP: 1.567in; LEFT: 0.727in', $
COMPONENT='report3', TEXT='report3', TOC-LEVEL=2, POSITION=(+0.001 +0.411), DIMENSION=(* *), RELATIVE-TO='report2', RELATIVE-POINT=BOTTOM-LEFT, POSITION-POINT=TOP-LEFT, REQUIRED-SPACE=(* 8), METADATA='Z-INDEX: 102; POSITION: absolute; WIDTH: 6.979in; HEIGHT: 3.229in; OVERFLOW: auto; TOP: 5.728in; LEFT: 0.728in; REQUIRED-SPACE-HEIGHT: 8', $
END
SET COMPONENT='report1'
-*component_type report
DEFINE FILE GGSALES
REGIONCITY/A31 = REGION|CITY;
END
TABLE FILE GGSALES
SUM DOLLARS BY REGIONCITY
BY REGION
ON TABLE HOLD AS HOLD1
END
TABLE FILE HOLD1
SUM DOLLARS NOPRINT BY REGIONCITY NOPRINT BY REGION NOPRINT
ON REGION PAGE-BREAK
HEADING
"Sales for Region<+0>:  <REGION "
FOOTING
""
ON TABLE SET PAGE-NUM OFF
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN,
PAGESIZE='Letter',
SQUEEZE=ON,
ORIENTATION=PORTRAIT,
$
TYPE=REPORT,
GRID=OFF,
FONT='ARIAL',
SIZE=9,
$
TYPE=TITLE,
STYLE=BOLD,
$
TYPE=TABHEADING,
SIZE=12,
STYLE=BOLD,
$
TYPE=TABFOOTING,
SIZE=12,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=1,
SIZE=16,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=2,
SIZE=16,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
ITEM=3,
SIZE=16,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=FIELD,
ITEM=1,
SIZE=16,
STYLE=BOLD,
$
TYPE=SUBHEAD,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBFOOT,
SIZE=10,
STYLE=BOLD,
$
TYPE=SUBTOTAL,
BACKCOLOR=RGB(210 210 210),
$
TYPE=ACROSSVALUE,
SIZE=9,
$
TYPE=ACROSSTITLE,
STYLE=BOLD,
$
TYPE=GRANDTOTAL,
BACKCOLOR=RGB(210 210 210),
STYLE=BOLD,
$
ENDSTYLE
END
SET COMPONENT='report2'
-*component_type report
TABLE FILE GGSALES
SUM DOLLARS BY REGION BY CITY
ON TABLE HOLD
END
TABLE FILE HOLD
SUM DOLLARS
COMPUTE REGIONCITY/A31 = IF REGION NE LAST REGION THEN REGION|CITY ELSE ' ';
BY REGION BY CITY
ON TABLE HOLD
END
DEFINE FILE HOLD
REGIONCITY/A31 = IF REGIONCITY EQ ' ' THEN LAST REGIONCITY ELSE REGIONCITY;
END
TABLE FILE HOLD PRINT DOLLARS BY REGIONCITY BY REGION BY CITY
ON TABLE HOLD
END
GRAPH FILE HOLD
-* Created by Advanced Graph Assistant
SUM HOLD.HOLD.DOLLARS
BY HOLD.HOLD.REGIONCITY NOPRINT
BY HOLD.HOLD.CITY
ON GRAPH HOLD AS HOLD FORMAT SVG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 6.563
ON GRAPH SET VAXIS 3.542
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRWIDTH 1
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 1
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPlace(true);
ENDSTYLE
END
-RUN
TABLE FILE HOLD
" "
SUM
COMPUTE CNTR/I4 = CNTR + 1; NOPRINT
COMPUTE CNTR2/A4 = IF &FOCGRAPHCNT EQ 1 THEN ' ' ELSE FTOA(CNTR-1,'(F4)','A4'); NOPRINT
COMPUTE IMG/A16 = 'HOLD'||LJUST(4,CNTR2,'A4')|| '.svg';NOPRINT
BY HOLD.HOLD.REGIONCITY NOPRINT
ON HOLD.HOLD.REGIONCITY PAGE-BREAK
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
type=HEADING, IMAGE=(IMG), position=(0 0), $
TYPE=REPORT,PAGE-LOCATION=OFF,$
END
SET COMPONENT='report3'
-*component_type report
TABLE FILE GGSALES
SUM DOLLARS
COMPUTE REGIONCITY/A31 = REGION|CITY;
BY REGION BY CITY BY PRODUCT
ON TABLE HOLD
END
GRAPH FILE HOLD
-* Created by Advanced Graph Assistant
SUM HOLD.HOLD.DOLLARS
BY HOLD.HOLD.REGIONCITY
BY HOLD.HOLD.PRODUCT
ON GRAPH HOLD AS HOL0 FORMAT SVG
ON GRAPH SET GRAPHDEFAULT OFF
ON GRAPH SET VZERO OFF
ON GRAPH SET HTMLENCODE ON
ON GRAPH SET HAXIS 6.563
ON GRAPH SET VAXIS 3.125
ON GRAPH SET LOOKGRAPH VBAR
ON GRAPH SET GRMERGE ADVANCED
ON GRAPH SET GRMULTIGRAPH 1
ON GRAPH SET GRLEGEND 0
ON GRAPH SET GRXAXIS 1
ON GRAPH SET GRAPHSTYLE *
setTemplateFile("/images/tdg/template/IBISouthWestern.txt");
setReportParsingErrors(false);
setSelectionEnableMove(false);
setDepthRadius(5);
setTransparentBorderColor(getChartBackground(),true);
setTransparentBorderColor(getSeries(0),true);
setTransparentBorderColor(getSeries(1),true);
setTransparentBorderColor(getSeries(2),true);
setTransparentBorderColor(getSeries(3),true);
setTransparentBorderColor(getSeries(4),true);
setTransparentBorderColor(getSeries(5),true);
setTransparentBorderColor(getSeries(6),true);
setTransparentBorderColor(getSeries(7),true);
setTransparentBorderColor(getSeries(8),true);
setTransparentBorderColor(getSeries(9),true);
setTransparentBorderColor(getSeries(10),true);
setPlace(true);
ENDSTYLE
END
-RUN
TABLE FILE HOLD
" "
SUM
COMPUTE CNTR/I4 = CNTR + 1; NOPRINT
COMPUTE CNTR2/A4 = IF &FOCGRAPHCNT EQ 1 THEN ' ' ELSE FTOA(CNTR-1,'(F4)','A4'); NOPRINT
COMPUTE IMG/A16 = 'HOL0'||LJUST(4,CNTR2,'A4')|| '.svg';NOPRINT
BY HOLD.HOLD.REGIONCITY NOPRINT
ON HOLD.HOLD.REGIONCITY PAGE-BREAK
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
type=HEADING, IMAGE=(IMG), position=(0 0), $
TYPE=REPORT,PAGE-LOCATION=OFF,$
END
COMPOUND END

This message has been edited. Last edited by: SeyedG,
 
Posts: 90 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Report This Post
<Kathryn Henning>
posted
Hi SeyedG,

I'd like to recommend opening a case on InfoResponse Online so that you can work with someone on this issue.

Regards,

Kathryn
 
Report This Post
Gold member
posted Hide Post
Hi Kathryn,
I guess you are suggesting that I open a case with IBI to just resolve issues with the sample work-around code that I have listed here. Is that correct? With regards to the actual graph issues, a new feature request has been submitted.

Thank you very much,

Seyed


WebFOCUS 8.0.09
App Studio 8009
Linux Kernel-2.6
DBMS: Oracle 11g
all output (Excel, HTML, AHTML, PDF)
 
Posts: 90 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Report This Post
<Kathryn Henning>
posted
Hi SeyedG,

Yes, that's what I'm suggesting. Smiler

I found your New Feature Request which is in programming. If you'd like to work through determining why certain report components are overlaying one another in your work-around code, Customer Support Services can assist with that.

Cheers!

Kathryn
 
Report This Post
Gold member
posted Hide Post
Hi Kathryn,
Thank you very much for your input. I will open a case on this particular work-around with IBI support.

Have a great day,

Seyed

This message has been edited. Last edited by: SeyedG,
 
Posts: 90 | Location: Oklahoma City, Oklahoma | Registered: July 01, 2010Report 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]Graph components cannot be set as Flowing

Copyright © 1996-2020 Information Builders