From 61b856c7dc5b8f7c14416a40b48e66b4c37b9584 Mon Sep 17 00:00:00 2001 From: Isabel <76437239+imatwawana@users.noreply.github.com> Date: Fri, 29 Sep 2023 08:14:19 -0400 Subject: [PATCH] Docs: Remove duplicate "Legend values" heading (#75692) * Replaced legends shared content with text * Copy and structuring edits * Removed redundant link * Prettier Signed-off-by: Jack Baldry --------- Signed-off-by: Jack Baldry 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 b15e1b591ef..e3abe45f7cd 100644 --- a/docs/sources/panels-visualizations/visualizations/pie-chart/index.md +++ b/docs/sources/panels-visualizations/visualizations/pie-chart/index.md @@ -79,7 +79,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 @@ -88,8 +108,6 @@ 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/). - {{% docs/reference %}} [Calculation types]: "/docs/grafana/ -> /docs/grafana//panels-visualizations/calculation-types" [Calculation types]: "/docs/grafana-cloud/ -> /docs/grafana//panels-visualizations/calculation-types"