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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...