[v10.4.x] Docs: clarify query formatting for time range variable queries (#84325)

Docs: clarify query formatting for time range variable queries (#84074)

* Added time range variable guidance

* Reworded

* Applied review suggestion

(cherry picked from commit e552e21221)

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-03-12 15:45:55 -04:00
committed by GitHub
co-authored by Isabel Matwawana
parent 0b50a9bfe3
commit e865301665
@@ -76,6 +76,8 @@ These variables allow you to include the current time range in the data link URL
| `__from` | For more information, refer to [Global variables][]. |
| `__to` | For more information, refer to [Global variables][]. |
When you create data links using time range variables like `__url_time_range` in the URL, you have to form the query parameter syntax yourself; that is, you must format the URL by appending query parameters using the question mark (`?`) and ampersand (`&`) syntax. These characters aren't automatically generated.
### Series variables
Series-specific variables are available under `__series` namespace:
@@ -107,6 +109,8 @@ Value-specific variables are available under `__value` namespace:
Using value-specific variables in data links can show different results depending on the set option of Tooltip mode.
When you create data links using time range variables like `__value.time` in the URL, you have to form the query parameter syntax yourself; that is, you must add the question mark (`?`) and ampersand (`&`). These characters aren't automatically generated.
### Data variables
To access values and labels from other fields use: