WiLL Report post Posted March 3, 2011 Hello ! I have a simple question. Is it possible to group different countries of Europe ? For exemple : Spain + Portugal, Belgium + Nederlands + Luxembourg, Germany + Poland, UK + Ireland... I don't want to group by color, but to see a kind of new bold frontier for each group (with the real frontiers inside the groups in thin lines). Is it possible ? and how ? Thank you so much ! Guillaume (and sorry for my English) Share this post Link to post Share on other sites
Guest Angie Report post Posted March 3, 2011 Hey Guillaume, The physical 'entities' of the FusionMaps framework based maps can not manipulated. Your feature request: 'new bold frontier for each group (with the real frontiers inside the groups in thin lines)', is not possible using FusionMaps. I have made a note of your suggestion here. Thank you for the same. Alternatively, you could create 3 different FusionMaps Custom maps to address your required implementation design here. More information on this at: http://www.fusioncharts.com/maps/Custom.asp I hope this helps. Share this post Link to post Share on other sites
WiLL Report post Posted March 3, 2011 I hope this helps. Yes this helps !! Thank you ! But creating custom maps is impossible because groups will often change so it will be very expensive !! Thanks again Share this post Link to post Share on other sites
Guest Angie Report post Posted March 4, 2011 Hi, Welcome to FusionCharts Forum and thanks for your appreciation! Happy FusionCharting! Share this post Link to post Share on other sites
pitommasi Report post Posted April 8, 2011 would it be possible to associate an action to a group of them (i.e.: if I click on france, italy, spain or england, the same chart opens, either in a frame, or a popup, or in a DIV in the same page or as a modal popup...)? Share this post Link to post Share on other sites
Guest Angie Report post Posted April 11, 2011 Hi, Please refer to the link below: http://www.fusioncha...own/Frames.html http://www.fusioncha...own/PopUps.html Hope this helps. Share this post Link to post Share on other sites
pitommasi Report post Posted April 11, 2011 Thanks you, but that is for single map entities. I will have to separately set the same link for all the entities that belong in a group, right? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 4, 2011 As of now, you can not group entities and assign a single action to the group. You need to set individual/common action (link) to each of the entities. Share this post Link to post Share on other sites
pitommasi Report post Posted May 4, 2011 As I thought, then... thanks Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 4, 2011 Thanks for your inputs. Share this post Link to post Share on other sites
pitommasi Report post Posted May 17, 2011 another question: is it possible to know the DOMId of the clicked map? I.E.: if I have two maps in the same page, both with entities set with a javascript call, how can I know which map has been clicked? Thanks in advance Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 18, 2011 Hi, I am afraid, as of now, this is not possible. You would need to pass the id or any identifier of the map (map;s entity) clicked through the JS function. Accordingly, you would need to build the link attribute. However, if you make use of JavaScript mouse events you can get the element id of the mouse hover target element. Share this post Link to post Share on other sites
pitommasi Report post Posted May 18, 2011 Hi, I am afraid, as of now, this is not possible. You would need to pass the id or any identifier of the map (map;s entity) clicked through the JS function. Accordingly, you would need to build the link attribute. However, if you make use of JavaScript mouse events you can get the element id of the mouse hover target element. I would need to combine hover and click, then... There is no such thing as a click handler, at the moment, am I right? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 18, 2011 Hi, If you use link attribute of entity element and use j- or JavaScript: format to invoke a JavaScript function when you click on the entity. That will take care of the click. Again, if you render the chart in opaque/transparent WMODE, the map element (<object>/<embed>) which has an id (=DOMId) can raise Browser mouse events (over, in, out etc.) and can be listened using simple JavaScript mouse event handlers. So at one hand the click can call the JS function from entity and on other hand through mouse over event you can get the element over which the mouse is present at that point of time and thus can track the DOMId of the map. Share this post Link to post Share on other sites
pitommasi Report post Posted May 18, 2011 Hi, If you use link attribute of entity element and use j- or JavaScript: format to invoke a JavaScript function when you click on the entity. That will take care of the click. Again, if you render the chart in opaque/transparent WMODE, the map element (<object>/<embed>) which has an id (=DOMId) can raise Browser mouse events (over, in, out etc.) and can be listened using simple JavaScript mouse event handlers. So at one hand the click can call the JS function from entity and on other hand through mouse over event you can get the element over which the mouse is present at that point of time and thus can track the DOMId of the map. but then, I will need to set a global variable to pass it to the click function... Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 18, 2011 As of now, may be yes. I am not much expert in JavaScript. So my simple application is as follows: http://www.igcomm.com/show/maps/trackid/ Share this post Link to post Share on other sites
pitommasi Report post Posted May 19, 2011 Thanks, exactly what I meant: your selectedMapId is a global variable. Best regards, Pierpaolo Share this post Link to post Share on other sites
FusionCharts Support Report post Posted May 21, 2011 As I have stated earlier, I am not much of a JavaScript expert. May be expert like you can help the community in this. Share this post Link to post Share on other sites