Sign in to follow this  
Seetharaman Srinivasan

Fcmap_Europe Does Not Show Values In Label

Recommended Posts

Guest Sumedh

Hi Srinivansan,

 

Welcome to FusionCharts Forum!  :)

 

We are not able to replicate the same.

 

After configuring these attributes, <map includeValueInLabels='1' includeNameInLabels='1' useSNameInLabels='1' >

 

We are getting full country name and value for that entity in the tool-tip.

 

What FusionMaps version are you using? Can you please send us the screen-shot and entire map XML for testing purposes?

 

Please find attached screen-shot for your reference.

 

post-24802-0-14931500-1364800572_thumb.png

Share this post


Link to post
Share on other sites

Thanks.

Let me get the code out of my application and test.

Then I will send the code to you.

I tried both FCMap_Europewithcountries and FCMap_Europe

 

<map includeValueInLabels='1'><data><entity id='DE' value='485'  /><entity id='ES' value='27'  /></data></map>

 

Thisis the xml generated from my application

Share this post


Link to post
Share on other sites

<html>
  <head>
    <title>My First map using FusionCharts JavaScript Class</title>
<script language="JavaScript" src="http://localhost:9080/ids/JSClass/FusionMaps.js"></script>
<script language="JavaScript" src="http://localhost:9080/ids/JSClass/FusionCharts.js"></script>
 <script language="JavaScript" src="http://localhost:9080/ids/js/ww_fusion_markers.js"></script>
  </head>
  <body>
    <div id="chartOne" style="width: 100%;height:100%; ">       </div>
    <script type="text/javascript">
         
    var eudata="<entity id='DE' value='485'  /><entity id='ES' value='27'  />";
    
    var myChart = new FusionMaps("http://localhost:9080/ids/Maps/FCMap_Europe.swf", "chartOne",'600', '500',"0");
    
    myChart.setDataXML("<map includeValueInLabels='1' includeNameInLabels='1' useSNameInLabels='1' ><data>"+eudata+"</data></map>");
    
    myChart.render("chartOne");

    </script>
  </body>  
</html>

 

This is the code I ran from my server http://localhost:9080/ids/euro.html

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Srinivasan,

 

Thanks for sharing the information.

 

Please note, you would need to provide entity id (numeric one for Europe map as specified in the map specification sheet) in the id element instead abbreviated name of map XML.

 

Please refer the following link, for more information:

http://docs.fusioncharts.com/maps/Contents/?MapSS/Europe.html

 

XML should be like this:

 

Ref. Code:

 

<map includeValueInLabels='1' includeNameInLabels='1' useSNameInLabels='1' >
<data>
<entity id='014' value='485'  />
<entity id='038' value='27'  />
</data>
</map>
 
You would need to use the map specification id's (internal id's) for this.
 
Hope this helps!
 
 
 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this