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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...