Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Filter two charts dynamically when a pie slice is clicked
Migrateduser
<p>Hi,</p>
<p> </p>
<p>I totally have three charts in my report. i am trying to filter two charts by capturing the categoryData when a pie slice is clicked in a Pie Chart. I am using the following script in the Y Series script section of the Pie chart:</p>
<p> </p>
<div>intentCategoryDataClicked = categoryData;</div>
<div>var chart = actuate.getViewer(evt.srcElement || evt.target).getCurrentPageContent().getChartByBookmark("All");</div>
<div>var filter1 = new actuate.data.Filter("NAME", "eq", categoryData);</div>
<div>chart.setFilters(filter1);</div>
<div>chart.submit();</div>
<div>var autoRenewalChart = actuate.getViewer(evt.srcElement || evt.target).getCurrentPageContent().getChartByBookmark("Auto");</div>
<div>autoRenewalChart.setFiltersfilter(filter1);</div>
<div>autoRenewalChart.submit();</div>
<div> </div>
<div>But the script execution ends wherever the first submit() is encountered. Can anyone please tell me how to solve this. I need more than two charts to be filtered dynamically on mouse click.</div>
<div> </div>
<div>Thanks in advance!</div>
Find more posts tagged with
Comments
There are no comments yet