Dashboards & Visualizations

how to color table values and not the whole cell

rijinc
Explorer

Table values are in a range from 0-100%
0-30 Red
30-80 AMber
90-100 Green

Only the values need to be colored not the whole cell is it possible ?

0 Karma

DalJeanis
Legend

In the CSS definition of the font style, you'd set the font color instead of the background color.

See this for some general code of this type. In this example, the css is setting the background colors, which is the usual method - https://answers.splunk.com/answers/217393/how-to-display-colored-cells-or-rows-in-a-dashboar.html

See this one for an example that instead, sets the font color to blue -
https://answers.splunk.com/answers/152636/dashboard-panel-statistics-table-how-to-change-font-of-sin...

Obviously, you'd need to define a font style in your css for the un-highlighted cells and any other highlights you wanted as well.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...