Doc: Canvas zoom to content (#109522)

doc(canvas): zoom to content
This commit is contained in:
Ihor Yeromin
2025-08-12 16:59:53 +02:00
committed by GitHub
parent 5c5729a25d
commit dd85bc0b17

View File

@ -262,6 +262,10 @@ Use the following pointer and keyboard strokes:
{{< video-embed src="/media/docs/grafana/2024-01-05-Canvas-Pan-&-Zoom-Enablement-Video.mp4" max-width="750px" alt="Canvas pan and zoom enablement video" >}}
##### Zoom to content
When you toggle on the **Zoom to content** switch, Grafana automatically adjusts the view to fit all visible elements in your canvas visualization into the viewport, adding a small margin around the edges. This makes it easy to reset your view, present content, or switch between devices without losing your framing. The content will refit even if you resize the panel.
##### Infinite panning
You can enable infinite panning in a canvas when pan and zoom is enabled. This allows you to pan and zoom the canvas and uncover larger designs.