Search code examples
colorsbackgroundhighmaps

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'  
},

Solution

  • 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