From 4b55776256aba3e52d636623fc33e9b425a7d5e8 Mon Sep 17 00:00:00 2001 From: Adela Almasan <88068998+adela-almasan@users.noreply.github.com> Date: Fri, 7 Jun 2024 13:36:48 -0600 Subject: [PATCH] Docs: Add `maxWidth` to tooltip docs (#88932) --- .../sources/panels-visualizations/configure-tooltips/index.md | 4 ++++ .../panels-visualizations/visualizations/xy-chart/index.md | 4 ++++ docs/sources/shared/visualizations/tooltip-options-1.md | 4 ++++ docs/sources/shared/visualizations/tooltip-options-2.md | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/docs/sources/panels-visualizations/configure-tooltips/index.md b/docs/sources/panels-visualizations/configure-tooltips/index.md index e5f1bf55974..79f7010d6a2 100644 --- a/docs/sources/panels-visualizations/configure-tooltips/index.md +++ b/docs/sources/panels-visualizations/configure-tooltips/index.md @@ -128,6 +128,10 @@ Set the hover proximity (in pixels) to control how close the cursor must be to a ![Adding a hover proximity limit for tooltips](/media/docs/grafana/gif-grafana-10-4-hover-proximity.gif) +### Max width + +Set the maximum width of the tooltip box. + ### Max height Set the maximum height of the tooltip box. The default is 600 pixels. diff --git a/docs/sources/panels-visualizations/visualizations/xy-chart/index.md b/docs/sources/panels-visualizations/visualizations/xy-chart/index.md index 8b6ef44a546..3176cb59872 100644 --- a/docs/sources/panels-visualizations/visualizations/xy-chart/index.md +++ b/docs/sources/panels-visualizations/visualizations/xy-chart/index.md @@ -187,6 +187,10 @@ When you hover your cursor over the visualization, Grafana can display tooltips. Use an override to hide individual series from the tooltip. +### Max width + +Set the maximum width of the tooltip box. + ### Max height Set the maximum height of the tooltip box. The default is 600 pixels. diff --git a/docs/sources/shared/visualizations/tooltip-options-1.md b/docs/sources/shared/visualizations/tooltip-options-1.md index 31f35524625..ff797789d3c 100644 --- a/docs/sources/shared/visualizations/tooltip-options-1.md +++ b/docs/sources/shared/visualizations/tooltip-options-1.md @@ -26,6 +26,10 @@ When you set the **Tooltip mode** to **All**, the **Values sort order** option i - **Ascending** - Values in the tooltip are listed from smallest to largest. - **Descending** - Values in the tooltip are listed from largest to smallest. +### Max width + +Set the maximum width of the tooltip box. + ### Max height Set the maximum height of the tooltip box. The default is 600 pixels. diff --git a/docs/sources/shared/visualizations/tooltip-options-2.md b/docs/sources/shared/visualizations/tooltip-options-2.md index 2a5d35e2bd0..d9c55f0d28a 100644 --- a/docs/sources/shared/visualizations/tooltip-options-2.md +++ b/docs/sources/shared/visualizations/tooltip-options-2.md @@ -32,6 +32,10 @@ Set the hover proximity (in pixels) to control how close the cursor must be to a ![Adding a hover proximity limit for tooltips](/media/docs/grafana/gif-grafana-10-4-hover-proximity.gif) +### Max width + +Set the maximum width of the tooltip box. + ### Max height Set the maximum height of the tooltip box. The default is 600 pixels.