Search code examples
angular8amcharts4

Amcharts : How to change the color of the map?


I am using amcharts mapchart. I am trying to change the color of the map which is by default grey.

Can someone help me with this?

Mapchart created with amcharts


Solution

  • To change the color of a series of mapPolygons use this:

    NameOfYourMapPolygonTemplate.fill = am4core.color("#ffee00")