Dashboards & Visualizations

How to change font-color instead of background color using colorpallette?

rrovers
Contributor

I have a dashboard with positive and negative values. I contains the difference with the month before. I want the fonts color green if value is negative and red if positive.

I've come to this:

 

<format type="color" field="verschil tov vorige maand">
<colorPalette type="expression">if (like(value,"%-%"),"#0E9421","#EC6521")</colorPalette>
</format>

 

but this is changing the background color and I want to change the font color.

Any idea if it is possible to change the font-color in a similar way?

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...