mirror of https://github.com/grafana/grafana
Docs: add Configure tooltips page (#84089)
* Added Configure tooltips page * Added intro, description options and image * Updated weight and removed passive voice * Replaced list with table and updated non-configurable tooltips section * Updated info about other tooltips * Wording edits * Apply suggestions from code review * Fixed table * Added hover value in color scheme info with imagepull/84953/head
parent
c1065e6e68
commit
e192c0aa05
@ -0,0 +1,114 @@ |
||||
--- |
||||
aliases: |
||||
keywords: |
||||
- grafana |
||||
- tooltips |
||||
- documentation |
||||
labels: |
||||
products: |
||||
- cloud |
||||
- enterprise |
||||
- oss |
||||
menuTitle: Configure tooltips |
||||
title: Configure tooltips |
||||
description: Configure tooltips for your visualizations |
||||
weight: 75 |
||||
--- |
||||
|
||||
# Configure tooltips |
||||
|
||||
When you hover your cursor over a visualization, Grafana can display tooltips that contain more information about a data point, like the exact time of a result. You can customize tooltips to control how many series they include and the order of those values. You can also copy the content from tooltips to use elsewhere. Learn more about configuring tooltips in [Tooltip options](#tooltip-options). |
||||
|
||||
## Supported visualizations |
||||
|
||||
You can configure tooltips for the following visualizations: |
||||
|
||||
| | | |
||||
| -------------------------- | -------------------------------- | |
||||
| [Bar chart][bar chart] | [State timeline][state timeline] | |
||||
| [Candlestick][candlestick] | [Status history][status history] | |
||||
| [Heatmap][heatmap] | [Time series][time series] | |
||||
| [Pie chart][pie chart] | [Trend][trend] | |
||||
|
||||
<!--Also xy chart --> |
||||
|
||||
Some visualizations, for example [candlestick][] and [flame graph][], have tooltips, but they aren't configurable. These visualizations don't have a **Tooltip** section in the panel editor pane. [Geomaps][geomaps] provide you the option to have tooltips triggered upon click or hover under the **Map controls** options in the panel editor pane. |
||||
|
||||
<!-- if we add documentation for treemap, some info will need to be added in the paragraph above --> |
||||
|
||||
## Tooltip options |
||||
|
||||
You can find the following options under the **Tooltip** section in the panel edit pane. |
||||
|
||||
{{% admonition type="note" %}} |
||||
Not all of the options listed apply to all visualizations with tooltips. |
||||
{{% /admonition %}} |
||||
|
||||
### Tooltip mode |
||||
|
||||
Choose how tooltips behave with the following options: |
||||
|
||||
- **Single** - The tooltip only the single series that you're hovering over in the visualization. |
||||
- **All** - The 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** - Tooltips aren't displayed when you interact with the visualization. |
||||
|
||||
You can use a [field 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. |
||||
|
||||
### Hover proximity |
||||
|
||||
Set the hover proximity (in pixels) to control how close the cursor must be to a data point to trigger the tooltip to display. |
||||
|
||||
 |
||||
|
||||
### Show histogram (Y axis) |
||||
|
||||
For the heatmap visualization only, when you set the **Tooltip mode** to **Single**, the **Show histogram (Y axis)** option is displayed. This option controls whether or not the tooltip includes a histogram representing the y-axis. |
||||
|
||||
### Show color scale |
||||
|
||||
For the heatmap visualization only, when you set the **Tooltip mode** to **Single**, the **Show color scale** option is displayed. This option controls whether or not the tooltip includes the color scale that's also represented in the legend. When the color scale is included in the tooltip, it shows the hovered value on the scale: |
||||
|
||||
 |
||||
|
||||
{{% docs/reference %}} |
||||
[bar chart]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/bar-chart" |
||||
[bar chart]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/bar-chart" |
||||
|
||||
[candlestick]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/candlestick" |
||||
[candlestick]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/candlestick" |
||||
|
||||
[flame graph]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/flame-graph" |
||||
[flame graph]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/flame-graph" |
||||
|
||||
[geomaps]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/geomap#tooltip" |
||||
[geomaps]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/geomap#tooltip" |
||||
|
||||
[heatmap]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/heatmap" |
||||
[heatmap]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/heatmap" |
||||
|
||||
[pie chart]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/pie-chart" |
||||
[pie chart]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/pie-chart" |
||||
|
||||
[state timeline]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/state-timeline" |
||||
[state timeline]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/state-timeline" |
||||
|
||||
[status history]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/status-history" |
||||
[status history]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/status-history" |
||||
|
||||
[time series]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/time-series" |
||||
[time series]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/time-series" |
||||
|
||||
[trend]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/visualizations/trend" |
||||
[trend]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/visualizations/trend" |
||||
|
||||
[field override]: "/docs/grafana/ -> /docs/grafana/<GRAFANA VERSION>/panels-visualizations/configure-overrides" |
||||
[field override]: "/docs/grafana-cloud/ -> /docs/grafana-cloud/visualizations/panels-visualizations/configure-overrides" |
||||
{{% /docs/reference %}} |
Loading…
Reference in new issue