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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...