From bb0fa7502c3a6e5ac30ba929fb5fea01d32504a4 Mon Sep 17 00:00:00 2001 From: Isabel <76437239+imatwawana@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:32:02 -0400 Subject: [PATCH] [v9.1.x] [v10.1.x] Docs: Remove duplicate "Legend values" heading (#75902) * [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) * Fixed link * Fixed linting errors --------- Co-authored-by: Jack Baldry --- .../sources/visualizations/pie-chart-panel.md | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/sources/visualizations/pie-chart-panel.md b/docs/sources/visualizations/pie-chart-panel.md index d0ee361b48b..1ee96de0ff8 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 "../panels/working-with-panels/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