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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

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 ...