gianlucasantos Report post Posted November 27, 2019 Hello, I'm using Profound UI and Fusion Charts. I have the task to look for a sales chart of europe by country. Does it is possible to change the language from English to German? The countries name are all in English I would like to have them in an another language if possible. Furthermore I need the IDs of following entities: Scotland, Wale, Northern Ireland & England as I can't find them. https://www.fusioncharts.com/dev/maps/spec-sheets/europe (there is only an ID for UK and not the other countries) Share this post Link to post Share on other sites
Akash Biswas Report post Posted November 29, 2019 Hi, The names of all the entities of FusionMaps are in English language. If you want to show the entity names in any other language, you can set the "displayValue" attribute for each of the entity data objects to set your display name in your required language. Check this sample fiddle for reference : http://jsfiddle.net/e59mcrLp/ For the mentioned Europe map entities, we follow the Wikipedia link : https://en.wikipedia.org/wiki/Europe#List_of_states_and_territories The IDs of the entities you require is not enlisted in the above link. However, if you require the Europe map as per your requirement, please share an image of the map with all your required entity IDs, and drop a mail to [email protected] so that we could develop it as a custom map for your requirement. Thanks, Akash. Share this post Link to post Share on other sites
gianlucasantos Report post Posted November 29, 2019 4 hours ago, Akash Biswas said: Hi, The names of all the entities of FusionMaps are in English language. If you want to show the entity names in any other language, you can set the "displayValue" attribute for each of the entity data objects to set your display name in your required language. Check this sample fiddle for reference : http://jsfiddle.net/e59mcrLp/ For the mentioned Europe map entities, we follow the Wikipedia link : https://en.wikipedia.org/wiki/Europe#List_of_states_and_territories The IDs of the entities you require is not enlisted in the above link. However, if you require the Europe map as per your requirement, please share an image of the map with all your required entity IDs, and drop a mail to [email protected] so that we could develop it as a custom map for your requirement. Thanks, Akash. Thank you for the answer I found out how to change the displayValues and it worked. At the moment I am trying to create a drill down map. There are a lot of examples in FusionCharts and I tried to use one of them. drill down to map examples { "chart": { "caption": "World Population Density", "subcaption": "Number of people per Square Mile", "theme": "fusion", "formatNumberScale": "0", "showLabels": "1", "nullEntityColor": "#C2C2D6", "nullEntityAlpha": "50", "hoverOnNull": "0", "useSNameInLabels": "0", "entityFillColor": "#A8A8A8", "entityFillHoverColor": "#E5E5E9" }, "colorrange": { "startlabel": "Low", "endlabel": "High", "code": "#e44a00", "minvalue": "0", "gradient": "1", "color": [ { "maxvalue": "60", "displayvalue": "Average", "code": "#f8bd19" }, { "maxvalue": "300", "code": "#6baa01" } ] }, "data": [ { "id": "NA", "displayValue": "North America", "value": "57.2", "link": "newchart-json-NA" }, { "id": "SA", "value": "57.1", "showLabel": "1" }, { "id": "AS", "value": "247", "showLabel": "1" }, { "id": "EU", "value": "188.5", "showLabel": "1" }, { "id": "AF", "value": "87.2", "showLabel": "1" }, { "id": "AU", "value": "8.32", "showLabel": "1" } ], "linkeddata": [ { "id": "NA", "linkedchart": { "chart": { "caption": "US Population Density by State", "subcaption": "Number of people per Square Mile", "entityFillHoverColor": "#E5E5E9", "showLabels": "1", "entityFillColor": "#A8A8A8", "theme": "fusion", "showBorder": "1", "bordercolor": "#FFFFFF", "entityborderThickness": "3" }, "colorrange": { "startlabel": "Low", "endlabel": "High", "code": "#e44a00", "minvalue": "0", "gradient": "1", "color": [ { "maxvalue": "150", "displayvalue": "Average", "code": "#f8bd19" }, { "maxvalue": "600", "code": "#6baa01" } ] }, "data": [ { "id": "HI", "value": "99" }, { "id": "DC", "value": "99" }, { "id": "MD", "value": "90" }, { "id": "DE", "value": "96" }, { "id": "RI", "value": "90" }, { "id": "WA", "value": "228" }, { "id": "OR", "value": "105" }, { "id": "CA", "value": "221" }, { "id": "AK", "value": "260" }, { "id": "ID", "value": "396" }, { "id": "NV", "value": "169" }, { "id": "AZ", "value": "435" }, { "id": "MT", "value": "445" }, { "id": "WY", "value": "455" }, { "id": "UT", "value": "227" }, { "id": "CO", "value": "214" }, { "id": "NM", "value": "196" }, { "id": "ND", "value": "331" }, { "id": "SD", "value": "374" }, { "id": "NE", "value": "329" }, { "id": "KS", "value": "231" }, { "id": "OK", "value": "150" }, { "id": "TX", "value": "202" }, { "id": "MN", "value": "137" }, { "id": "IA", "value": "143" }, { "id": "MO", "value": "424" }, { "id": "AR", "value": "485" }, { "id": "LA", "value": "124" }, { "id": "WI", "value": "181" }, { "id": "IL", "value": "120" }, { "id": "KY", "value": "309" }, { "id": "TN", "value": "250" }, { "id": "MS", "value": "351" }, { "id": "AL", "value": "271" }, { "id": "GA", "value": "124" }, { "id": "MI", "value": "120" }, { "id": "IN", "value": "205" }, { "id": "OH", "value": "476" }, { "id": "PA", "value": "445" }, { "id": "NY", "value": "369" }, { "id": "VT", "value": "322" }, { "id": "NH", "value": "216" }, { "id": "ME", "value": "404" }, { "id": "MA", "value": "165" }, { "id": "CT", "value": "316" }, { "id": "NJ", "value": "553" }, { "id": "WV", "value": "560" }, { "id": "VA", "value": "565" }, { "id": "NC", "value": "534" }, { "id": "SC", "value": "503" }, { "id": "FL", "value": "503" } ] } } ] } The problem I have is that the Map Type is not changing. At Profound we have an Event section where I can add javascript code to certain events like onchartclick, but I can't find the element ID of the map type. And i need to render the map again to have the new map. How can I solve this ? Share this post Link to post Share on other sites
Akash Biswas Report post Posted December 2, 2019 Hi, To change the child map type or chart type in a drill down map or chart, you need to use the configureLink() API method to set the child map type. Please refer to the documentation link for the details of configureLink() API method :https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods#configureLink Also find a sample for reference : http://jsfiddle.net/fusioncharts/dcfc6o86/ Thanks, Akash. Share this post Link to post Share on other sites