Dashboards & Visualizations

How to make a static bar move dynamically?

KalebeRS
Explorer

Hello,

I have this bar graph with a static bar to show a deadline. Needed to change the little bar position dynamically when the dates changes.

Is that possible?

KalebeRS_0-1690457442525.png

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

The closest you might get is to have a line graph overlay at that point, however, the data point for that day would align with the middle of the column for that day, not to the left of the columns. Note this works with _time not a string value in the x-axis

ITWhisperer_0-1690477342364.png

 

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Please share the code you use to create the bar.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...