Conditional Panel Visibility Based on Time Range in Grafana


Is there a way to conditionally hide panels or rows in Grafana based on a time range? I have two panels: one Gauge and the other Time Series. I want to display the Gauge when the time range is up to one day, and the Time Series when the time range exceeds one day.

Do you have any suggestions on how to achieve this in Grafana?