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.
We are struggling to get the graphs come out in PDF format.
We are being told : In order to put graphics in PDF, we MUST use the option involving setting our $DISPLAY variable to point to a machine which has an X-server or be running a virtual X-server with UNIX software that can render graphics, known as Xvfb.(virtual frame buffer)
Why not just save them as a .gif and position them via style sheet etc.? That way the graph is formed as part of the PDF document and will be displayed on opening with acrobat reader.
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, 2004
The information that IBI has given you is partly correct, However it's correctness is based on the version of WebFocus that you are running.
Normally on all platforms you require a graphics server to be able to generate graphs, This can either be a 'real' or virtual server.
However in the later releases, 5.3 upwards, headless graphics are supported. Enabling them is an admin function, however as always there have been different issues reported of different platforms.
Just creating a .gif file and including it will not work as the generation of the gif requires either the graphics engine or using the headless option.
If you want to give headless a try look at hottrack case 12872069. The fact that your'e trying .svg tells me that your'e at least 53x so it should work.
Also HOLD the graph file to an absolute location and specify that, or try specifying it as IMAGE=.\GRF.GIF so that the PDF generator has no doubt about it's location.
Ok, I've been playing a little bit with this theme, and currently I've been able of showing a graph into a pdf, of course, saving or as an image.
Here's the code:
-* Allocation of the GIF
FILEDEF CARGIF DISK C:\CARGIF.GIF
-* Simply Graph Report
GRAPH FILE CAR
SUM SALES SALES
BY COUNTRY
ON GRAPH HOLD AS CARGIF FORMAT GIF
END
-RUN
-* Easy Report
TABLE FILE CAR
SUM SALES NOPRINT BY COUNTRY
ON TABLE SET STYLE *
-* Image Previously Saved
TYPE=REPORT, IMAGE=C:\CARGIF.gif,
POSITION=(2 0), SIZE=(5 3), $
ENDSTYLE
-* PDF Format!
ON TABLE PCHOLD FORMAT PDF
END
Hope it helps!!
See ya..
____________________________________________ Ruben Rueda Consultant Information Builders Iberica