ovryu
Posts: 18
Joined: Fri Jul 17, 2020 12:04 am

Changing color of Europe Map

Hi,

I would like to display some data using the Europe Highamps similar to this demo: https://jsfiddle.net/gh/get/library/pur ... as-as-null

But I'd like to have it look such as the US Demo with the blue color schema and have the color changes depending on percentages like the demo and the percentage legend listed below.

https://jsfiddle.net/gh/get/library/pur ... ata-labels

How can I achieve the same look from the US Map Demo I linked above to the Europe Map Demo?

Thank you,

Best Regards.
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Changing color of Europe Map

Hello ovryu!

We appreciate you reaching out to us!

You need to enable colorAxis to get different colors on each country depending on the value that is assigned to it. The legend from the demo with the US map was created in HTML so you can do the same with the Europe demo.

API references:
https://api.highcharts.com/highmaps/colorAxis

Demo:
https://jsfiddle.net/BlackLabel/w6qe5cjp/

Let me know if that was what you were looking for!
Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Maps”