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!

Enterprise Security Content Update (ESCU) | New Releases

In November, the Splunk Threat Research Team had one release of new security content via the Enterprise ...

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...