Dashboards & Visualizations

How to change panel title color in Studio

kejamder
Observer

In release 9.2.2403 I see that:

You can customize the text color of dashboard panel titles and descriptions with the titleColor and descriptionColor options in the source code...


But I'm not sure how to modify the source code appropriately to make this work.  If I have this basic starting point:

 

{
    "type": "splunk.table",
    "title": "Sample title for testing color",
    "options": {},
    "context": {},
    "containerOptions": {},
    "showProgressBar": false,
    "showLastUpdated": false
}

 

Where can I insert titleColor?

My Splunkcloud version is Version:9.2.2403.108

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

It goes on to say

... options in the source code. The options accept hexadecimal and RGBA formats, and can also be defined in the dashboard defaults.

so try something like this

{
    "type": "splunk.table",
    "title": "Sample title for testing color",
    "options": {
        "titleColor": "#ff0000"},
    "context": {},
    "containerOptions": {},
    "showProgressBar": false,
    "showLastUpdated": false
}

 

0 Karma

kejamder
Observer

Thanks for the quick reply! 

That makes sense, but it doesn't seem to work. I've tried light and dark mode in Chrome and Edge. I'm not sure if there are any other settings that might override that property, but the title remains black/white.

0 Karma
Get Updates on the Splunk Community!

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...

SignalFlow: What? Why? How?

What is SignalFlow? Splunk Observability Cloud’s analytics engine, SignalFlow, opens up a world of in-depth ...

Federated Search for Amazon S3 | Key Use Cases to Streamline Compliance Workflows

Modern business operations are supported by data compliance. As regulations evolve, organizations must ...