Dashboards & Visualizations

Is there a way to manually choose the colors for a single value visualization without relying on a range to do it via xml tags only?

pepper_seattle
Path Finder

Issue
I have three single value panels at the top of my dashboard that I want to have color coded values or backgrounds for, but I want to pick the color of each one and have it stay that color. Using a range won't guarantee that my colors stay as I chose them as the values shift over time.

Question
Is there a way to manually choose the colors for a single value visualization without relying on a range to do it via xml tags only?

I cannot create a custom css file to pull from so anything outside of tags in the dashboard xml is a no go.

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi pepper_seattle,
you have to choose the same color for every range you have (at least 2), in this way you have always the fixes one.
Bye.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi pepper_seattle,
you have to choose the same color for every range you have (at least 2), in this way you have always the fixes one.
Bye.
Giuseppe

0 Karma

lguinn2
Legend

If you want to set the foreground or background color for a dashboard panel, you can. For example, in a chart you can do this in the XML:

<panel>
  <chart>
     ...
    <option name="charting.backgroundColor">0xFF9900</option>
  <chart>
</panel>

This should set the chart background color to orange. Here is the page in the Dashboards and Visualization manual: Chart configuration reference.

0 Karma

pepper_seattle
Path Finder

This doesn't work with single value visualizations unfortunately. I'm using v.6.5.0 if that helps.

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 ...