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     Using WebViewer to show Graphical reports

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Using WebViewer to show Graphical reports
 Login/Join
 
Gold member
posted
Hi All,

I have a requirement where in I need to show a lot of graphs using the WebViewer. Contraints are that I should show only one graph per page. I suppose that can be easily done by saying

ON PAGE-BREAK;

Also, I suppose the WebViewer shoudl come up if I just write

SET WEBVIEWER ON;

However the problem is that its not working out for me. Can anyone of you pass me any such example where you are displaying Graphs in a WEBVIEWER (HTML)? Also, if you can provide me the PAGE-BREAK option too, that would be fabulous.

I am completely stuck up here, so looking forward to getting any sort of help from you all.

Thanks,
Ved


Web Focus 7.1.6
Hosted on Unix Box
 
Posts: 61 | Registered: August 17, 2007Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by Ved:

Also, I suppose the WebViewer shoudl come up if I just write

SET WEBVIEWER ON;



jst give "SET WEBVIEWER = ON" a try...


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
Gold member
posted Hide Post
I have taken care of the sytax things.. What I had written above was a typo error...

Anyway, I just found that the result in coming in a webviewer if I run the report for tabular data. So now my question can be modified to : "How do I show Graphs using HTML Web Viewer"?


Web Focus 7.1.6
Hosted on Unix Box
 
Posts: 61 | Registered: August 17, 2007Report This Post
Virtuoso
posted Hide Post
I seem to recall that the webviewer is only meant for tabular data (ie the result of TABLE), and not for graph(s). You may get away with showing graphs in the webviewer, if you include them as image(s) in your table request.
If that works for one graph, I'm sure we can also figure out a way to do this for more than 1 graph. This would than involve some smart DM code to create a table request on the fly that contains all graphs that should be shown.
---
The longer I think of it, the more I get the idea that it may be far better if you installed the 76 release and then use the PDF compound report painter (or whatever it is called). This great feature allows you to do exactly what you want. It does not use the webviewer of course, but generates pretty nice pdf output.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Platinum Member
posted Hide Post
GamP

If you include ur image in ur table request (and lets also hope it will come in webviewer) and put some smart loop to print the table requests, then how the webfocus server will recognize the page breaks and will give output in the webviewer properly...Not sure if this will really work out....

But i think ur 2nd idea is awesome...
Ved doesn't have 761 instead 713...so no PDF layout painter might be...
But you can do it in very smart way as below...

Suppose take CAR file...and we wanna show sales
/model for diff countries.
Just find the count of distinct countries..
and create the loop in below way..
read distinct country and store in a variable...
for each distinct country find the sales/model graph(save as gif)...
then in dummy table file requests include the image...(make sure u give the image name as a variable when u hold it and when u include it in table request)
Now when loopcounter = 1 >> ON TABLE PCHOLD FORMAT PDF OPEN
when loopcounter = &lines >> ON TABLE PCHOLD FORMAT PDF CLOSE
and for inbetween prints the format will be >> ON TABLE PCHOLD FORMAT PDF

and it will produce all the graphs in different pdf pages....

tks/sam


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
Yeah, that might also work very well indeed. Smart!
Let's hope Ved can make sense of it and create what is needed for him.
I really believe he's out of luck of it has to be webviewer, PDF may be an acceptable alternative.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report 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     Using WebViewer to show Graphical reports

Copyright © 1996-2020 Information Builders