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.

New TIBCO Community Coming Soon
In early summer, TIBCO plans to launch a new community—with a new user experience, enhanced search, and expanded capabilities for member engagement with answers and discussions! In advance of that, the current myibi community will be retired on April 30. We will continue to provide updates here on both the retirement of myibi and the new community launch.

What You Need to Know about Our New Community
We value the wealth of knowledge and engagement shared by community members and hope the new community will continue cultivating networking, knowledge sharing, and discussion.

During the transition period, from April 20th until the new community is launched this summer, myibi users should access the TIBCO WebFOCUS page to engage.


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