Dashboards & Visualizations

How do you change the marker colors on a map visualization

ldwatola
New Member

I am new to splunk and I am doing my first map visualization. I want to change the color of the markers displayed on the map. This is nothing fancy, but I am just not sure how to do that.

0 Karma

dolivasoh
Contributor

From: http://docs.splunk.com/Documentation/Splunk/6.2.4/AdvancedDev/CustomChartingConfig-FontColorBrushPal...

Setting color properties:

<option name="charting.foregroundColor">0x000000</option>
<option name="charting.backgroundColor">0xFFFFFF</option>
<option name="charting.seriesColors">[0x6CB8CA,0xFAC61D,0xD85E3D,0x956E96,
0xF7912C,0x9AC23C,0x998C55,0xDD87B0,0x5479AF,0xE0A93B,0x6B8930,0xA04558,
0xA7D4DF,0xFCDD77,0xE89E8B,0xBFA8C0,0xFABD80,0xC2DA8A,0xC2BA99,0xEBB7D0,
0x98AFCF,0xECCB89,0xA6B883,0xC68F9B,0x416E79,0x967711,0x823825,0x59425A,
0x94571A,0x5C7424,0x5C5433,0x85516A,0x324969,0x866523,0x40521D,0x602935]</option>

seriesColors array Uses an array of hexadecimal values to define the colors of chart series (surrounded by brackets and separated by commas, no spaces). See the Define series colors subtopic in the Charting configurations overview for more information.

Note: The masterLegend parameter influences series color mappings made with seriesColors. For more information, see Chart colors.

If you want to apply static colors to specific fields we suggest you use the fieldColors property (see documentation of the fields color palette, below).

0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...