The query and its time range of a Data Panel is displayed in the Settings dialog of the Dashboards page.
If you’d like to edit the query itself, you can do that on the Search page.
To view a query:
- On the Dashboards page, click the Edit toggle.
- Click the Panel's Settings icon.
- Click Query to display the query.