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!

Now Available: Cisco Talos Threat Intelligence Integrations for Splunk Security Cloud ...

At .conf24, we shared that we were in the process of integrating Cisco Talos threat intelligence into Splunk ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Easily Improve Agent Saturation with the Splunk Add-on for OpenTelemetry Collector

Agent Saturation What and Whys In application performance monitoring, saturation is defined as the total load ...