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 (2)
0 Karma
Get Updates on the Splunk Community!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...