Dashboards & Visualizations

Is it possible to change the background color of a panel via XML without relying on CSS?

isaacgbt
New Member

Hi,

Is it possible to change the Title's Background of a Panel via the XML Code? (I do not want to rely on CSS)

I currently changed all other backgrounds by using

option name="charting.backgroundColor">#475565
option name="charting.foregroundColor">#EBF5FF
option name="charting.fontColor">#99CCFF

Thanks!

Tags (3)
0 Karma
1 Solution

nravichandran
Communicator

As far as I know, in-styles can be applied (although it is a maintenance headache and not recommended).

...

<panel>
  <html>

Heading

  <chart> 

...

View solution in original post

0 Karma

nravichandran
Communicator

As far as I know, in-styles can be applied (although it is a maintenance headache and not recommended).

...

<panel>
  <html>

Heading

  <chart> 

...

0 Karma

isaacgbt
New Member

Thank you, this works perfectly !

Solution:

<panel> 
      <html> <p> <font size="4"> TITLE  </font> </p> </html>
      <chart>
      etc etc
0 Karma
Get Updates on the Splunk Community!

Index This | What’s a riddle wrapped in an enigma?

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

BORE at .conf25

Boss Of Regular Expression (BORE) was an interactive session run again this year at .conf25 by the brilliant ...

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...