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]How to affect multiple targets when clicking in a chart

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[Closed]How to affect multiple targets when clicking in a chart
 Login/Join
 
Member
posted
I am creating a dashboard containing multiple charts and a map object. The The effect I would like to create is for all the charts to update with the data for a particular state when clicked on. I can currently get the action to affect a single chart (with a hyperlink) but would like to know if the above desired action is possible and how it is accomplished.

Thank you

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


Director-Business Intelligence
WebFOCUS 8.09
Windows, All Outputs
 
Posts: 9 | Registered: June 16, 2016Report This Post
Gold member
posted Hide Post
There may be better ways but as the great philosopher, Frank Sinatra, said……… “I did it my way” 

Drill statement in your map.

TYPE=DATA, COLUMN=N2, TARGET='_self', JAVASCRIPT=parent.setControls1(N1 \
&GEOGRAPHY_DISTRIBUTOR_WAREHOUSE_DISTRIBUTOR_WAREHOUSE.QUOTEDSTRING \
&WHAT_CAT.QUOTEDSTRING \
&TIME_DURATIONS_DURATIONS.QUOTEDSTRING \
&TIME_WEEK_WEEK.QUOTEDSTRING), $

Javascript on in your HTML

function setControls1(NEWMAN, GEOGRAPHY_DISTRIBUTOR_WAREHOUSE_DISTRIBUTOR_WAREHOUSE, WHAT_CAT, TIME_DURATIONS_DURATIONS, TIME_WEEK_WEEK) {
IbComposer_setCurrentSelection('inputhidden1', NEWMAN, true);
IbComposer_setCurrentSelection('inputhidden2', WHAT_CAT, true);
IbComposer_execute('pdrill1','graph1');
IbComposer_execute('bdrill1', 'graph2');
}



This ties a pie chart and a bar chart together so they both drill regardless of which one you drilled from.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 74 | Registered: December 23, 2013Report This Post
Member
posted Hide Post
Thank you for the input. I have two questions.I am still very new to WebFocus development.
What are pdrill1 and bdrill1?
Where does the code for the map object go? Not sure how to insert the code.

Thank you


Director-Business Intelligence
WebFOCUS 8.09
Windows, All Outputs
 
Posts: 9 | Registered: June 16, 2016Report This Post
Member
posted Hide Post
Figured out the parameters for the ibComposer_execute command.

Still have the question on the code insertion in the map FEX.

Thank you


Director-Business Intelligence
WebFOCUS 8.09
Windows, All Outputs
 
Posts: 9 | Registered: June 16, 2016Report This Post
Gold member
posted Hide Post
pdrill1 and graph1 are iframes on the page.
pdrill1 is hidden, graph1 is not.

I have the following

graph1 (pie chart) graph2(hbar chart)

pdrill1 (hidden pie) bdrill2(hidden hbar)


the execute command loads the hidden charts into the visible (graph1) iframe.


WebFOCUS 7.6
Windows, All Outputs
 
Posts: 74 | Registered: December 23, 2013Report 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]How to affect multiple targets when clicking in a chart

Copyright © 1996-2020 Information Builders