From e9825f1769cf8539e473e7bfa646f14bc95e2303 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 10:26:43 -0400 Subject: [PATCH] [v9.4.x] [v10.1.x] Docs: Remove duplicate "Legend values" heading (#75891) [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 --- .../visualizations/pie-chart/index.md | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/docs/sources/panels-visualizations/visualizations/pie-chart/index.md b/docs/sources/panels-visualizations/visualizations/pie-chart/index.md index 64b40369a27..98cf03764a1 100644 --- a/docs/sources/panels-visualizations/visualizations/pie-chart/index.md +++ b/docs/sources/panels-visualizations/visualizations/pie-chart/index.md @@ -74,7 +74,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 @@ -82,5 +102,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/).