Hello. I’m trying to dynamically set the X-Axis time range for a State Timeline. I keep going in circles by trying many things, so I’m not getting anywhere. I’m obviously not understanding something.
At it’s most fundemental level, I can’t seem to get the X-Axis FROM (left side of the timeline) time range to adjust using any of the Query Options fields. My DATA follows the Relative field, but the X-Axis timeline doesn’t. The timeline works fine when using the date/time picker, but doesn’t change at all when I adjust any of the Query option parameters. My data changes, but the timeline range doesn’t. What am I missing?
I’m using Grafana 11.4 on Windows with MSSQL DB.
In the attached screenshot, I have 1h in the Relative field. My data is showing 1h of data, but the Timeline is many hours. How can I set the timeline timespan to a specific time, without using the DateTime picker? I need the time in the yellow to match now-1hr (in this example)
Then, ultimately, after I understand where I’m going wrong, I need to use a variable to set the FROM timeline range. I figure I need to know the basics beforehand though.
Thanks for any help! I’d greatly appreciate it!