Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Parmeter in Graph drilldown
Go
New
Search
Notify
Tools
Reply
  
[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, 2010Reply With QuoteReport 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 7 - IE11.
in Focus since 1988
 
Posts: 1960 | Location: Netherlands | Registered: September 25, 2007Reply With QuoteReport 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, 2005Reply With QuoteReport 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),$
 
Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Parmeter in Graph drilldown

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.