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 | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...