The community of Analytics developers are invited to follow and participate in the developer network. OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

chart display property change using birt desinger API is not working?

Hi,I am using org.eclipse.birt.report.model.api.ExtendedItemHandle extensivily, but unable to set display property using it?as per rptdesign xml, <property name="display">inline</property> decides chart display setting org.eclipse.birt.report.model.api.ExtendedItemHandle setProperty("display","none") or setProperty("display","inline") is not workingplease give example code snippet, how it can be handled dynamically?or any alternative

eHi @jfrankenexample, we have pie chart in my template; we create reports using dynamic json input and copy charts from that template.if json has reporttype->xyz then I want to hide few charts; later clicking on ABC chart category bar; those remaining chart should be shown.Currently, I am able to achieve this in static report where all charts are in same report and jsapi chart.show WORKS FINE AS EXPECTED.

We want to enhance dynamicsm from birt design api like below: (which is not effect)analysisTemplate.setProperty("display","none")var copiedChart = analysisTemplate.copy() copiedChart.setProperty("display","none")