From dd85bc0b17c653a1b4aa90f31e8108fb0cdf3c25 Mon Sep 17 00:00:00 2001 From: Ihor Yeromin Date: Tue, 12 Aug 2025 16:59:53 +0200 Subject: [PATCH] Doc: Canvas zoom to content (#109522) doc(canvas): zoom to content --- .../panels-visualizations/visualizations/canvas/index.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/sources/panels-visualizations/visualizations/canvas/index.md b/docs/sources/panels-visualizations/visualizations/canvas/index.md index a5f4712c502..63daf9b63e8 100644 --- a/docs/sources/panels-visualizations/visualizations/canvas/index.md +++ b/docs/sources/panels-visualizations/visualizations/canvas/index.md @@ -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 re‑fit 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.