Steps to Create a Scrollable Graph in Grafana Open Dashboard:
Log in to Grafana and open an existing dashboard or create a new one. Add a New Panel:
Click on Add Panel and select Time Series or Graph. Select InfluxDB Data Source:
Choose your InfluxDB data source from the dropdown menu. Write Your Query:
Use a query to fetch data, like:
SELECT mean("value") FROM "your_measurement" WHERE $timeFilter GROUP BY time($__interval) fill(null) Set Time Range:
Use the time picker (top right) to select a broader range (e.g., last week). Disable Auto-Refresh:
In panel settings, set Refresh to Off or a longer interval (e.g., every 5 minutes). Adjust X-Axis:
Ensure the X-axis is set to Time to enable scrolling. Save Your Dashboard:
Click Apply to save the panel, then save the dashboard.