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     Integrating Report and Graph in a PDF

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Integrating Report and Graph in a PDF
 Login/Join
 
Member
posted
I have a concern, with PDF reports.
The report and graph are in same fex,
Requirement is to display the 1 report and 4 graphs in the same page.

i have tried using compound reports but alas it is not working.

please advise

thanks


WF 7.1.4
Windows
Excel, Html, PDF



 
Posts: 5 | Registered: February 02, 2008Report This Post
Platinum Member
posted Hide Post
Well, store report as Hold file and graphs as images(format GIF).

Then print all in compound (ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK/NOBREAK/CLOSE.
).
For report its direct print and for graphs give some dummy prints including images in style sheet (IMAGE=GTEST.GIF, POSITION=(1 4.2))

It will work that way...


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Virtuoso
posted Hide Post
I would prefer saving the graph as SVG.

this gives a better quality.

How to create a compound report can be found in the manual, although it is said there you can mix pdf, html and excel I would recommend to not doing it that way.

Do you have the PDF layout painter?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Member
posted Hide Post
I tried it out that way but it is throwing up a blank PDF rather than a report

------------------------------------------------

quote:
Originally posted by focuzsambit:
Well, store report as Hold file and graphs as images(format GIF).

Then print all in compound (ON TABLE PCHOLD FORMAT PDF OPEN NOBREAK/NOBREAK/CLOSE.
).
For report its direct print and for graphs give some dummy prints including images in style sheet (IMAGE=GTEST.GIF, POSITION=(1 4.2))

It will work that way...


WF 7.1.4
Windows
Excel, Html, PDF



 
Posts: 5 | Registered: February 02, 2008Report This Post
Virtuoso
posted Hide Post
Prash

If you post your code we might be able to see what is wrong.




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
Virtuoso
posted Hide Post
Try this as an example:

GRAPH FILE CAR
SUM SALES
ACROSS COUNTRY
ON GRAPH HOLD AS 'SALES' FORMAT SVG
END
-RUN
GRAPH FILE CAR
SUM RCOST
ACROSS COUNTRY
ON GRAPH HOLD AS 'RCOST' FORMAT SVG
END
-RUN
GRAPH FILE CAR
SUM DCOST
ACROSS COUNTRY
ON GRAPH HOLD AS 'DCOST' FORMAT SVG
END
-RUN
GRAPH FILE CAR
SUM MPG
ACROSS COUNTRY
ON GRAPH HOLD AS 'MPG' FORMAT SVG
END
-RUN
TABLE FILE CAR
SUM SALES RCOST DCOST MPG
BY COUNTRY
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=REPORT, IMAGE=SALES.SVG, POSITION=(0.50 2.0), SIZE=(4.0 3.0),$
TYPE=REPORT, IMAGE=RCOST.SVG, POSITION=(4.50 2.0), SIZE=(4.0 3.0),$
TYPE=REPORT, IMAGE=DCOST.SVG, POSITION=(0.50 5.0), SIZE=(4.0 3.0),$
TYPE=REPORT, IMAGE=MPG.SVG, POSITION=(4.50 5.0), SIZE=(4.0 3.0),$
ENDSTYLE
END


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report 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     Integrating Report and Graph in a PDF

Copyright © 1996-2020 Information Builders