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
Show/Hide the chart in Y-series script
Migrateduser
<p>Hi,</p>
<p> </p>
<p>I have two charts in my report. One is a pie chart and there is a bar chart. I am filtering the bar chart on clicking a pie slice using the following script in the "Y Series" script for pie chart:</p>
<p> </p>
<div>var chart = actuate.getViewer(evt.srcElement || evt.target).getCurrentPageContent().getChartByBookmark("BarChart");</div>
<div>var filter = new actuate.data.Filter("Country", "eq", categoryData);</div>
<div>chart.setFilters(filter);</div>
<div>chart.submit();</div>
<div> </div>
<div>I want the bar chart to be hidden when the report is first rendered. And later when i click on the pie slice the bar chart has to be displayed. I have used "chart.show()", but it does not work. Can anyone help me out.</div>
<div> </div>
<div>Thanks!</div>
Find more posts tagged with
Comments
There are no comments yet