Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Highmaps map colour

I want to be able to change the colour of this exact entire map. I am using map bubble I want a darker color for the countries and continents. how can i achieve this as colorAxis will change the data representation(bubble) colour not the map colour.

http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/maps/demo/map-bubble/

apparently this does not work :(

colorAxis : {
  color: 'red'  
},
like image 321
user3672795 Avatar asked Dec 14 '22 20:12

user3672795


1 Answers

You can try replacing color property with nullColor. What it does is changing the color of all shapes to red.

Please check my fiddle: JSFIDDLE

{
    name: 'Countries',
    mapData: mapData,
    //color: '#E0E0E0',
    nullColor: 'red',
    enableMouseTracking: false
}

Thanks

like image 59
Roco CTZ Avatar answered Jan 07 '23 20:01

Roco CTZ