Skip to content
Snippets Groups Projects
Unverified Commit 93a3057f authored by github-automation-metabase's avatar github-automation-metabase Committed by GitHub
Browse files

docs - various (#48958) (#48964)

parent 557f1080
No related branches found
Tags v0.51.0.9-beta v1.51.0.9-beta
No related merge requests found
......@@ -57,3 +57,23 @@ By default, Metabase allows your users to use a previously saved question as a s
## Enable X-rays
[X-rays](../exploration-and-organization/x-rays.md) are a great way for people to get quick summary stats on your data. If these X-ray queries get too slow or expensive, you can turn them off here.
## Allowed domains for iframes in dashboards
Make sure you trust the sources that you allow people to embed in dashboards.
You can include multiple domains separated by a comma. Including a subdomain is more restrictive than including the domain.
- For **Domains**, (e.g., `example.com`), Metabase will allow any iframe from the domain (`example.com`) _and_ its subdomains (e.g., `data.example.com`, `docs.example.com`, etc.).
- For **Subdomains** (e.g., `data.example.com`) Metabase will restrict iframes to those subdomains. In this case, iframes _must_ be from `data.example.com` (or any of the other allowed domains). Metabase will block iframes from all other subdomains, including `example.com`.
So if you included the following:
```
data.example.com,
docs.example.com
```
Metabase would only allow iframes from `data.example.com` and `docs.example.com`. Metabase would block iframes from all other domains, including iframes from `example.com` and its other subdomains.
See [iframes in dashboards](../dashboards/introduction.md#iframe-cards).
docs/questions/images/count-and-average.png

177 KiB

docs/questions/images/metrics-in-tooltip.png

130 KiB

docs/questions/images/multiple-metrics.png

100 KiB

docs/questions/images/tooltip.png

70.1 KiB

docs/questions/sharing/image-1.png

99.6 KiB

---
title: Tooltips
---
# Tooltips
When you hover over a data point on a chart in Metabase, you'll see a tooltip about that data.
![Tooltip](../images/tooltip.png)
## Customizing tooltips with multiple metrics
On line, bar, and area charts, you can display the values from multiple metrics either on the chart, or in the tooltips that Metabase adds to the data points on hover.
For example, if you have a question with two metrics (i.e., two summarizations - they don't have to be Metabase [metrics](../../data-modeling/metrics.md)), like this question that has both the count and average of subtotal:
![Question with multiple summarizations](../images/multiple-metrics.png)
You can display the summarizations like so, with both the count and average on the chart.
![Count and average](../images/count-and-average.png)
Or you could display one of the metrics on the chart, and include the other metric(s) in the tooltip. To do this, remove one of the metrics from the chart by going to the **Data** tab in the visualization settings and clicking the X on the metric(s) you want to remove.
Removing a metric will give you the option to add it as an additional metric to the tooltip. In the visualization settings, click on the **Display** tab, and add **Additional tooltip metrics**. Only metrics included in the summarization step of the question are available to add to the tooltip.
![Add additional tooltip metrics from the display tab. Only available when your chart has multiple multiple metrics](../images/metrics-in-tooltip.png)
Here we've kept the count on the chart, but now when you hover over a bar on the chart, the tooltip also includes the relevant average.
\ No newline at end of file
......@@ -63,3 +63,7 @@ Create links or embeds for the good people of the internet.
### [Exporting](./sharing/exporting-results.md)
The different ways you can export the results of questions and dashboards.
### [Tooltips](./sharing/tooltips.md)
Customize tooltips on bar, line, and area charts.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment