Splunk Search

Is it possible to alternate colors and values for bar chart on weekly basis?

verothor
Path Finder

Hi all,

I want to ask if it's even possible to somehow alternate the values in stacked bar chart, that one week the field 1 will be down and field 2 up and second week the opposite.

This is current state and next week should be in reverse.

Is that even possible with bar chart?

pic.png

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

This is not possible with a standard chart. Having said that, you could spoof it by having 3 series instead of 2 (the third series being a duplicate of the first), and set the third series to zero in the first week, and the third series to zero in the second week, then assign the same colours to series 1 and 3

View solution in original post

verothor
Path Finder

Hmm.. that sound promissingly.. I will give it a try.. going to play with it.. thank you 🙂

0 Karma

verothor
Path Finder

Thanks for quick answer

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

This is not possible with a standard chart. Having said that, you could spoof it by having 3 series instead of 2 (the third series being a duplicate of the first), and set the third series to zero in the first week, and the third series to zero in the second week, then assign the same colours to series 1 and 3

verothor
Path Finder

This was so great idea, it really works.. thank you so much 😁

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...