mirror of https://github.com/grafana/grafana
Docs: add tooltips shared content (#86553)
* Replaced shared tooltips file with text in xy chart * Added tooltip info for heatmap * Updated tooltip shared files, renamed one file, updated configure tooltips * updated tooltip shared file paths * Added tooltips shared files in relevant visualizations * Added where shared file is used in tooltip-options-1 * Added where shared file is used in tooltip-options-2 * Added intro text and justifications to shared files * Removed tooltips intro text from visualizations with shared files * Added names of files to comments in shared filespull/86930/head
parent
53ead9904d
commit
0e81fdffbe
@ -1,13 +0,0 @@ |
||||
--- |
||||
title: Tooltip mode |
||||
--- |
||||
|
||||
### Tooltip mode |
||||
|
||||
When you hover your cursor over the visualization, Grafana can display tooltips. Choose how tooltips behave. |
||||
|
||||
- **Single -** The hover tooltip shows only a single series, the one that you are hovering over on the visualization. |
||||
- **All -** The hover tooltip shows all series in the visualization. Grafana highlights the series that you are hovering over in bold in the series list in the tooltip. |
||||
- **Hidden -** Do not display the tooltip when you interact with the visualization. |
||||
|
||||
Use an override to hide individual series from the tooltip. |
@ -0,0 +1,31 @@ |
||||
--- |
||||
title: Tooltip mode |
||||
comments: | |
||||
There are two tooltip shared files, tooltip-options-1.md and tooltip-options-2.md, to cover the most common combinations of options. |
||||
Using two shared files ensures that content remains consistent across visualizations that share the same options and users don't have to figure out which options apply to a specific visualization when reading that content. |
||||
This file is used in the following visualizations: bar chart, pie chart, state timeline, status history |
||||
--- |
||||
|
||||
Tooltip options control the information overlay that appears when you hover over data points in the visualization. |
||||
|
||||
### Tooltip mode |
||||
|
||||
When you hover your cursor over the visualization, Grafana can display tooltips. Choose how tooltips behave. |
||||
|
||||
- **Single -** The hover tooltip shows only a single series, the one that you are hovering over on the visualization. |
||||
- **All -** The hover tooltip shows all series in the visualization. Grafana highlights the series that you are hovering over in bold in the series list in the tooltip. |
||||
- **Hidden -** Do not display the tooltip when you interact with the visualization. |
||||
|
||||
Use an override to hide individual series from the tooltip. |
||||
|
||||
### Values sort order |
||||
|
||||
When you set the **Tooltip mode** to **All**, the **Values sort order** option is displayed. This option controls the order in which values are listed in a tooltip. Choose from the following: |
||||
|
||||
- **None** - Grafana automatically sorts the values displayed in a tooltip. |
||||
- **Ascending** - Values in the tooltip are listed from smallest to largest. |
||||
- **Descending** - Values in the tooltip are listed from largest to smallest. |
||||
|
||||
### Max height |
||||
|
||||
Set the maximum height of the tooltip box. The default is 600 pixels. |
Loading…
Reference in new issue