Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Call the same report two times bases on parameters
ssekhar
Hi,
I created single pie chart in my report. I want it to show as two different charts based on some parameter. Please let me know how can I do it.
Thanks,
Sekhar.
Find more posts tagged with
Comments
bhanley
You can add as many pie charts to your single report as you need. Then use the visibility property of each chart to show or hide it based on a parameter value.
ssekhar
Hi Bhanley,
Thanks for your reply. I don't want to create another chart. I think my explanation is not clear. Below example discribes more in detail
1. I created a pie chart in report named piechart.rptdesign. It has some code in onRender method. I don't want to duplicate the code by creating another chart.
2. I want to create new report/use the same report to generate another pie chart with the same format (the output should show two pie charts with the same format, but with different data).
Please let me know how can I do this.
Thanks in advance for your help.
Thanks
bhanley
Create your pie chart once, and add it to a library. You can then use the chart in any other report via the shared library.<br />
<br />
Here are some resources:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/47-report-libraries-and-templates/#description'>Report
Libraries and Templates - Articles - BIRT Exchange</a><br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/508-sample-birt-libraries-example/#description'>Sample
BIRT Libraries Example - Designs & Code - BIRT Exchange</a>
ssekhar
Thanks very much Brian. I am able to create library succesfully and imported that into my report.