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, but not SOLVED] Saving diagrams (PDF/Image) with HTML Graph Assistant

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED, but not SOLVED] Saving diagrams (PDF/Image) with HTML Graph Assistant
 Login/Join
 
Member
posted
Hello,

a customer of us is using the HTML Graph Assistant of the MRE to develop diffrent diagrams. This works fine as long as they are not trying to save a file. (The customer environment is 7.6.2)

1. SCREEN-OUTPUT
If they chose output to the screen, execute the report und save it to a file (pdf,gif,png,etc), the focus titles are lost (as described in the manual) and the chart titles remain. But the chart-titles are not able to show field-values as the focus-titles did.

2. FILE-OUTPUT
If the customer choses the output to a file, enters a name, a format (png or s.th.) and executes the report, the file is saved to 'D:\ibi\WebFOCUS76\temp' with a name like 'jfxvghfv.png'. The name for the file that got entered in the Assistant is not recognized. The manual says that you should do a filedef before saving a file, BUT our customers are only using the HTML Graph Assistant from MRE.

3. PRINTER-OUTPUT
just working fine!

So the questions are:
Why is the name a customer inserts for the file not recognized? What is the sense of that save-file-function, if the user is not able to gain access to the files? Are we using it wrong?

Is there any way to get the FOCUS-Titles in a saved file or to get the field-values into the chart-titles?

Is there any way to enable our customers to save the diagrams to their hard disk only by using the HTML Graph Assistant from the MRE?
(no coding, no developer studio, no filedef)

If the HTML Graph Assistant does not contain this functionality, is there any workaround? Is there any other tool which can accomplish this task?

Thankful for every hint!
JP

This message has been edited. Last edited by: Jean-Pierre,


-----
WebFOCUS 7.6.4 on Windows Server 2003 with Oracle DB / MS SQL Server
 
Posts: 21 | Location: Essen, Germany | Registered: January 30, 2009Report This Post
<JG>
posted
quote:
But the chart-titles are not able to show field-values as the focus-titles did

Jean-Pierre

You need to use the API calls to set the text values.
In an initial pass before the graph generate the values you want and read them in as Variables

 TABLE FILE CAR
SUM DCOST
ON TABLE SAVE
END
-RUN
-READ SAVE &TCOST.A7.

GRAPH FILE CAR
SUM DCOST
ACROSS COUNTRY
ON GRAPH SET GRAPHSTYLE *
setTitleString("Total Sales = &TCOST.EVAL \n Date &DATE");
ENDSTYLE
END 


the \n generates a new line
 
Report This Post
Member
posted Hide Post
Hello together,

I opened up a case on this issue. Here is the result:
(I think some will know this already, but it may be helpful for some others)


The Focus Heading and Footing is not part of the graph. The graph is embedded in an HTML page which contains the Heading and Footing, so when the Graph is saved, the HTML code around is not saved.

If the users want to save a generated graph on their local hard disc, the only and easiest solution will be to create the graph online and from the browser to select 'Save picture as'.

Another way is to create the Graph first in a Holdfile and then incorporate the generated image in a PDF report. The second report contains the Heading and Footing then, but you will have to size the image and the position of the Heading and Footing to your needs. But this can't be done only using the Graph Assistant, a TextEditor is needed to combine it.

PowerPainter or the new InfoAssist may be used, which let's you compose complex type of reports. But both products needs to be licensed separately.


At least I'm having the answer, that this is not possible only by using the HTML Graph Assistant.

I mark the Thread as [CLOSED, but not SOLVED].

Greetings
JP


-----
WebFOCUS 7.6.4 on Windows Server 2003 with Oracle DB / MS SQL Server
 
Posts: 21 | Location: Essen, Germany | Registered: January 30, 2009Report 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, but not SOLVED] Saving diagrams (PDF/Image) with HTML Graph Assistant

Copyright © 1996-2020 Information Builders