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     How do you direct a drill down graphs to a frame?

Read-Only Read-Only Topic
Go
Search
Notify
Tools
How do you direct a drill down graphs to a frame?
 Login/Join
 
Gold member
posted
I am trying to create 2 graphs with the option to drill down from either one to a detail report. I am able to create the 2 graphs (held in HTML format), which can be displayed using HTML's TABLE,TR,TD syntax. However, when I drill down from the graph, this resulting drill down report is displayed in the entire screen. I would like to have the drill down report displayed only in the space taken up by the original graph.

So I am attempting to replace the TABLE,TR,TD syntax with frames. That way I hope to target the drill down output to a particular frame. But when I attempted to display the graphs in frames I received a HTTP Status 404 error message. Here is my code:

GRAPH FILE CAR
HEADING
"This is GRAPH1 html output"
SUM DEALER_COST
ACROSS CAR
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(Car=A1),
$
ENDSTYLE
END
-RUN
GRAPH FILE CAR
HEADING
"This is GRAPH2 html output"
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH HOLD AS GRAPH2 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(COUNTRY=A1),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN

< !-- Commented out THIS CODE WILL DISPLAY THE TWO GRAPHS





!IBI.FIL.GRAPH1; !IBI.FIL.GRAPH2;

-->
< !-- This code results in a HTTP Status 404 error message -->






-HTMLFORM END

Does anyone know how I can solve this problem?
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
Gold member
posted Hide Post
Here is my second attempt to display my code:

GRAPH FILE CAR
HEADING
"This is GRAPH1 html output"
SUM DEALER_COST
ACROSS CAR
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(Car=A1),
$
ENDSTYLE
END
-RUN
GRAPH FILE CAR
HEADING
"This is GRAPH2 html output"
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH HOLD AS GRAPH2 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(COUNTRY=A1),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN

< !-- Commented out THIS CODE WILL DISPLAY THE TWO GRAPHS -->





!IBI.FIL.GRAPH1; !IBI.FIL.GRAPH2;

-->
< !-- This code results in a HTTP Status 404 error message -->






-HTMLFORM END
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
Gold member
posted Hide Post
Here is my third attempt to display my code. This time I am commenting out all the HTML code:

GRAPH FILE CAR
HEADING
"This is GRAPH1 html output"
SUM DEALER_COST
ACROSS CAR
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(Car=A1),
$
ENDSTYLE
END
-RUN
GRAPH FILE CAR
HEADING
"This is GRAPH2 html output"
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH HOLD AS GRAPH2 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(COUNTRY=A1),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN
< !-- -->
< !-- Commented out THIS CODE WILL DISPLAY THE TWO GRAPHS
< !--





!IBI.FIL.GRAPH1; !IBI.FIL.GRAPH2;

-->
< !-- This code results in a 404 error message -->
< !--




-->
< !-- -->
-HTMLFORM END
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
Gold member
posted Hide Post
This HTML code which displays the output using TABLE/TR/TD syntax works





!IBI.FIL.GRAPH1; !IBI.FIL.GRAPH2;


This code, using frames does not work, and results in a HTTP Status 404 error message






Anyone know how to get frames to display graph output?
 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
Platinum Member
posted Hide Post
Hi john,

i always display graphs in html with span

for example

!IBI.FIL.ITEM1;


then you can determine where it is positioned


D: WF 7.6.2 P. : WF 7.6.2 on W2003
------------------------------------------------------------------
I see myself as an intelligent, sensitive human, with the soul of a clown which forces me to blow it at the most important moments.

-Jim Morrison-

 
Posts: 206 | Registered: February 25, 2005Report This Post
Gold member
posted Hide Post
quote:

Here is my attempt to disply my code using Quote:

GRAPH FILE CAR
HEADING
"This is GRAPH1 html output"
SUM DEALER_COST
ACROSS CAR
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(Car=A1),
$
ENDSTYLE
END
-RUN
GRAPH FILE CAR
HEADING
"This is GRAPH2 html output"
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH HOLD AS GRAPH2 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(COUNTRY=A1),
$
ENDSTYLE
END
-RUN
-HTMLFORM BEGIN

< !-- Commented out THIS CODE WILL DISPLAY THE TWO GRAPHS





!IBI.FIL.GRAPH1; !IBI.FIL.GRAPH2;

-->
< !-- This code results in a 404 error message -->






-HTMLFORM END


 
Posts: 62 | Location: New York City | Registered: December 29, 2004Report This Post
Gold member
posted Hide Post
quote:
I am trying to create 2 graphs with the option to drill down from either one to a detail report. I am able to create the 2 graphs (held in HTML format), which can be displayed using HTML's TABLE,TR,TD syntax. However, when I drill down from the graph, this resulting drill down report is displayed in the entire screen. I would like to have the drill down report displayed only in the space taken up by the original graph.

So I am attempting to replace the TABLE,TR,TD syntax with frames. That way I hope to target the drill down output to a particular frame. But when I attempted to display the graphs in frames I received a HTTP Status 404 error message. Here is my code:


This is the fex code:
GRAPH FILE CAR
HEADING
"This is GRAPH1 html output"
SUM DEALER_COST
ACROSS CAR
ON GRAPH HOLD AS GRAPH1 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=REPORT,
TARGET=LEFT,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(Car=A1),
$
ENDSTYLE
END
-RUN
GRAPH FILE CAR
HEADING
"This is GRAPH2 html output"
SUM DEALER_COST
ACROSS COUNTRY
ON GRAPH HOLD AS GRAPH2 FORMAT HTMTABLE
ON GRAPH SET HAXIS 400
ON GRAPH SET VAXIS 300
ON GRAPH SET STYLE *
TYPE=REPORT,
TARGET=RIGHT,
$
TYPE=DATA,
ACROSSCOLUMN=N1,
FOCEXEC=car_rep(COUNTRY=A1),
$

ENDSTYLE
END

Now, if I display the code using this TABLE/TR/TD syntax it works

  

-HTMLFORM BEGIN
<html>				 
<table border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="50%">!IBI.FIL.GRAPH1;</td>
    <td width="50%">!IBI.FIL.GRAPH2;</td>
  </tr>
</table>
-HTMLFORM BEGIN



If I attempt to display the same two graphs using frames (inorder to target the drill down to a particular frame) I get a HTML 404 error message:

  

-HTMLFORM BEGIN
<html>
<frameset rows="*" cols="*,*" frameborder="YES" border="0" framespacing="0">
	<frame src="!IBI.FIL.GRAPH1;" name="left" TARGET="_blank">
	<frame src="!IBI.FIL.GRAPH2;" name="right" TARGET="_blank">
</frameset>
</html>
-HTMLFORM END



Does anyone know how to target graph output to a frame?
 
Posts: 62 | Location: New York City | Registered: December 29, 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     How do you direct a drill down graphs to a frame?

Copyright © 1996-2020 Information Builders