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?

I am using extensivily, but unable to set display property using it?
as per rptdesign xml, <property name="display">inline</property>  decides chart display setting setProperty("display","none") or  setProperty("display","inline")  is not working
please give example code snippet, how it can be handled dynamically?
or any alternative


  • Hi Venu,

    Can you provide more info:
    What element(s)? 
    What condition(s) change the visibility?
    Can you use the element visibility property?
    Jeff F.
    Sr. Technical Support Specialist
  • 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 WORKS FINE AS EXPECTED.

    We want to enhance dynamicsm from birt design api like below: (which is not effect)
    var copiedChart = analysisTemplate.copy() 
  • can anyone please help me here?
  • Hi Venu,
    Can you please open a support ticket so that we can do a screen share? 
    Jeff F.
    Sr. Technical Support Specialist
Sign In or Register to comment.