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     html and blank graph

Read-Only Read-Only Topic
Go
Search
Notify
Tools
html and blank graph
 Login/Join
 
Platinum Member
posted
I'm having an issue with html and a blank graph. I'm doing a pie graph. I've done similar logic with a vbar graph and if the graph is empty with a vbar it is still created even though there was no data to graph (values were 0.00). With the pie graph, it does not create the graph so it dies when it does the below logic. I have one account with data and one account with 0.00 for data. Is there a way to do this? I'm able to create the heading and put no data available for this account in the heading, so I would like the header to at least display. Thanks.

-HTMLFORM BEGIN
< !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


Trust Portfolio Report
<script>
var finished = false;
function finishedLoading(){
finished = true;
}



-SET &CNT = 1;
-REPEAT HTMLLOOP WHILE &CNT LE &NOOFACCTS;
!IBI.FIL.HEADER&CNT|;
!IBI.FIL.GRAPH&CNT|;
!IBI.FIL.TABLE&CNT|;
-SET &CNT = &CNT + 1;
-HTMLLOOP



-HTMLFORM END


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report This Post
Platinum Member
posted Hide Post
I fixed this by creating a regular report with no data in it and named it the same as my graph. So, I would check if no graph was created by checking if &lines = 0 and then I would go to another section to create my 3 different files. Then when I go to display them they are found and I don't get the error.


webfocus 8.105M; os: windows; pdf, html, exl2k, csv
 
Posts: 179 | Registered: November 10, 2004Report 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     html and blank graph

Copyright © 1996-2020 Information Builders