See the explanations about these settings in the Grafana documentation.
Note: Grafana uses the query_range endpoint of the Prometheus API to repeatedly execute the query over the given time range.
query_range