Dashboards & Visualizations

Chorophleth map custom coloring with fixed order

samuelbramm
Engager

Hi,

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

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...