Focal Point
html and blank graph

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5161045761

May 11, 2006, 05:06 PM
Pam Kratt
html and blank graph
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
May 16, 2006, 09:37 AM
Pam Kratt
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