Jump to content

BIRT Developer Center Download


Photo
- - - - -

Dynamically changing the map type

fusioncharts map

  • Please log in to reply
1 reply to this topic

#1 joshr

joshr

    Newbie

  • 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. 

http://www.fusioncha...-reference.html



#2 Clement Wong

Clement Wong

    Senior Member

  • BIRT Experts
  • 1173 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