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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...