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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...