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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...