Dashboards & Visualizations

Chorophleth map custom coloring with fixed order



Does anyone know how to define custom colors for the choropleth map? I tried the following code, but upon opening the dashboard the map always picks a random color for the different countries. Is there any way to fix the colors?

<option name="mapping.choroplethLayer.colorMode">categorical</option>
<option name="mapping.seriesColors">[0x6CB8CA, 0xFAC61D, 0xD85E3D, 0x956E96, 0xF7912C, 0x9AC23C, 0x998C55, 0xDD87B0, 0x5479AF, 0xE0A93B]</option>

Thanks in advance