Home
Analytics
chart display property change using birt desinger API is not working?
Venu_Bachwale
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 working
please give example code snippet, how it can be handled dynamically?
or any alternative
Find more posts tagged with
Comments
jfranken
Hi Venu,
Can you provide more info:
What element(s)?
What condition(s) change the visibility?
Can you use the element visibility property?
Venu_Bachwale
eHi
@jfranken
example, 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")
Venu_Bachwale
can anyone please help me here?
jfranken
Hi Venu,
Can you please open a support ticket so that we can do a screen share?