From b1d399faf2c8fcf4a449e808925c8d057b3366f5 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:00:50 -0400 Subject: [PATCH] [v9.0.x] [v10.1.x] Docs: Remove duplicate "Legend values" heading (#75887) [v10.1.x] Docs: Remove duplicate "Legend values" heading (#75800) Docs: Remove duplicate "Legend values" heading (#75692) * Replaced legends shared content with text * Copy and structuring edits * Removed redundant link * Prettier --------- (cherry picked from commit 61b856c7dc5b8f7c14416a40b48e66b4c37b9584) Signed-off-by: Jack Baldry Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> (cherry picked from commit c629e3b09c8d0cd760b13c0fc5e1b0be5b5090de) Co-authored-by: Jack Baldry --- .../sources/visualizations/pie-chart-panel.md | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/sources/visualizations/pie-chart-panel.md b/docs/sources/visualizations/pie-chart-panel.md index c9e313de370..281daf414af 100644 --- a/docs/sources/visualizations/pie-chart-panel.md +++ b/docs/sources/visualizations/pie-chart-panel.md @@ -73,7 +73,27 @@ The following example shows a pie chart with **Name** and **Percent** labels dis {{< docs/shared lookup="visualizations/tooltip-mode.md" source="grafana" version="" >}} -{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} +## Legend options + +Use these settings to define how the legend appears in your visualization. For more information about the legend, refer to [Configure a legend]({{< relref "../../configure-legend" >}}). + +### Legend visibility + +Use the **Visibility** switch to show or hide the legend. + +### Legend mode + +Set the display mode of the legend: + +- **List -** Displays the legend as a list. This is a default display mode of the legend. +- **Table -** Displays the legend as a table. + +### Legend placement + +Choose where to display the legend. + +- **Bottom -** Below the graph. +- **Right -** To the right of the graph. ### Legend values @@ -81,5 +101,3 @@ Select values to display in the legend. You can select more than one. - **Percent:** The percentage of the whole. - **Value:** The raw numerical value. - -For more information about the legend, refer to [Configure a legend](../configure-legend/).