Controlling a panel's time range end via a panel override / TimeTo

I stumbled upon this topic and I’m facing the same issue. I want to have a timeseries panel showing values from today 00:00 to 24:00. This is possible on the dashboard with the today preset or by setting start to now/d and end to now/d. When I set the panel’s datasource query option relative time (or JSON attribute TimeFrom) to now/d the time range starts at 00:00 and the override is shown as Today so far above the panel. But I’m struggling to set the end of the time range so I can always see the full 24h. I’ve read in some post that TimeTo can be used for this but it does not seem to work at all. Even setting it to now-1h changes nothing - it is simply ignored.

Is there any way to achieve what I’m looking for? I know I can set the relative time to now-24h to get 24h of data.

1 Like

I was able to find a solution here.
You can set Relative time to now/d and Time shift to 0d/d: