Docs: share tooltip mode description between TimeSeries and PieChart (#33488)

* docs(tooltip): share tooltip mode docs between visualizations

* docs(tooltip-mode): replace mentions of graph with visualization
This commit is contained in:
Jack Westbrook 2021-05-04 22:09:26 +02:00 committed by GitHub
parent a9b218ff1e
commit a90e3084b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 9 deletions

View File

@ -73,6 +73,8 @@ The following example shows a pie chart with **Name** and **Percent** labels dis
![Pie chart labels](/img/docs/pie-chart-panel/pie-chart-labels-7-5.png)
{{< docs/shared "visualizations/tooltip-mode.md" >}}
{{< docs/shared "visualizations/legend-mode.md" >}}
### Legend values

View File

@ -31,15 +31,7 @@ You can also use field options to create different types of graphs or adjust you
> **Note:** You can migrate Graph panel visualizations to Time series visualizations. To migrate, on the Panel tab, click **Time series** visualization. Grafana transfers all applicable settings. (While in beta, migration is still being refined. It will get better as time goes on!)
### Tooltip mode
When you hover your cursor over the graph, 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 graph.
- **All -** The hover tooltip shows all series in the graph. 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 graph.
> **Note:** Use an override to hide individual series from the tooltip.
{{< docs/shared "visualizations/tooltip-mode.md" >}}
{{< docs/shared "visualizations/legend-mode.md" >}}

View File

@ -0,0 +1,13 @@
---
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.
> **Note:** Use an override to hide individual series from the tooltip.