Jump to content

BIRT Developer Center Download

- - - - -

Dynamically changing the map type

fusioncharts map

  • Please log in to reply
1 reply to this topic

#1 joshr



  • Members
  • Pip
  • 1 posts

Posted 13 July 2017 - 10:53 AM

I have a BIRT report that uses the Map report item to display some regional information. Is it possible to change the type of map through scripting?


I tried looking through the api document provided here http://help.eclipse....signHandle.htmlbut didn't have much luck.



My main objective is to be able to change the type specified in the construct. 


#2 Clement Wong

Clement Wong

    Senior Member

  • BIRT Experts
  • 1204 posts

Posted 17 July 2017 - 08:24 AM

One option is in the beforeFactory event to get a handle to the report item name of the map, and then change the XML to the map you want to display.


Attached is a parameterized example of changing the map type.

Attached Files

Clement Wong
Principal Analytics Architect

OpenText Corporation
http://www.actuate.com | http://www.opentext.com