Docs: Add maxWidth to tooltip docs (#88932)

This commit is contained in:
Adela Almasan 2024-06-07 13:36:48 -06:00 committed by GitHub
parent 81019f1669
commit 4b55776256
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 0 deletions

View File

@ -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) ![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 ### Max height
Set the maximum height of the tooltip box. The default is 600 pixels. Set the maximum height of the tooltip box. The default is 600 pixels.

View File

@ -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. Use an override to hide individual series from the tooltip.
### Max width
Set the maximum width of the tooltip box.
### Max height ### Max height
Set the maximum height of the tooltip box. The default is 600 pixels. Set the maximum height of the tooltip box. The default is 600 pixels.

View File

@ -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. - **Ascending** - Values in the tooltip are listed from smallest to largest.
- **Descending** - Values in the tooltip are listed from largest to smallest. - **Descending** - Values in the tooltip are listed from largest to smallest.
### Max width
Set the maximum width of the tooltip box.
### Max height ### Max height
Set the maximum height of the tooltip box. The default is 600 pixels. Set the maximum height of the tooltip box. The default is 600 pixels.

View File

@ -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) ![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 ### Max height
Set the maximum height of the tooltip box. The default is 600 pixels. Set the maximum height of the tooltip box. The default is 600 pixels.