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] Parmeter in Graph drilldown

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Parmeter in Graph drilldown
 Login/Join
 
Member
posted
hi,

Iam creating a report, with 3 drop down box and a graph
Based on the selection on drop down box, it should display a graph and graph has drill down feature.

drop down box has following selection parameter,
1. Product group
2. Person selling
3. Office assigned


Based on above selection the graph should display the market value of the product_group.

On the graph when the product group is clicked ,it should go down to list of products under that group also if person selling and office assinged is selected, the value should be based on that.

How do i pass the valuse selected in the drop down to next level of the drill down.
I tired using this,

TYPE=DATA, COLUMN=N2, FOCEXEC=bar_graph_level_2( \
DRILLVALUE=J0.PRODUCT_HIERARCHY.PRODUCT_LINE_NM \
Office='&Office' \
REP='&REP' \
)

Value from dropdown is not assinged to office and rep. Any help?

This message has been edited. Last edited by: Kerry,


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 10 | Registered: November 15, 2010Report This Post
Virtuoso
posted Hide Post
How did you find out that the values were not propagated to the next procedure?
What is the rest of your procedure - specifically the print/sum/by/across part?
I have tried something like this in release 7.7 and there it just works as you have coded it.


GamP

- Using AS 8.2.01 on Windows 10 - IE11.
in Focus since 1988
 
Posts: 1961 | Location: Netherlands | Registered: September 25, 2007Report This Post
Virtuoso
posted Hide Post
Are you sure "N2" is a correct reference?

What happens to the drilldown when you use an equivalent TABLE FILE in place of the GRAPH FILE request?


- Jack Gross
WF through 8.1.05
 
Posts: 1925 | Location: NYC | In FOCUS since 1983 | Registered: January 11, 2005Report This Post
<JG>
posted
A graph presented in an html page has no knowledge about other content on the html page.

To be able to do what you want your drilldown needs to call a javascript function
which submits the request

 

<script>
function doDrill(VAR1)....
document.form1.PRODUCT_LINE_NM.value=VAR1;
document.form1.submit();
</script>
<body>
<FORM  NAME=form1 ACTION="/ibi_apps/WFServlet" METHOD="POST",target="_blank" >
<INPUT TYPE="hidden" NAME="IBIF_ex" VALUE="bar_graph_level_2">
<INPUT TYPE="hidden" NAME="PRODUCT_LINE_NM" VALUE=" ">
<select>select list1</select>
<select>select list2</select>
<select>select list3</select>

<img src='your graph'> </img>
</form>
</body>
 


The drilldown would look something like

TYPE=DATA, COLUMN=N2,JAVASCRIPT=parent.document.doDrill(PRODUCT_LINE_NM),$
 
Report 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] Parmeter in Graph drilldown

Copyright © 1996-2020 Information Builders