Files
grafana/docs/sources/panels/visualizations/panel-legend.md
Diana Payton ea185327ce Docs: Add pie chart docs (#31926)
* Create pie-chart-panel.md

* Update pie-chart-panel.md

* Create legend-mode.md

* Update pie-chart-panel.md

* Update _index.md

* Update pie-chart-panel.md

* Update _index.md

* Create panel-legend.md

* Update panel-legend.md

* content updates

* Update whats-new-in-v7-5.md

* Update docs/sources/whatsnew/whats-new-in-v7-5.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update pie-chart-panel.md

* Update docs/sources/panels/visualizations/panel-legend.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/panels/visualizations/panel-legend.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/panels/visualizations/pie-chart-panel.md

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>

* Update docs/sources/panels/visualizations/pie-chart-panel.md

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>

* Update docs/sources/panels/visualizations/pie-chart-panel.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update panel-legend.md

* Update panel-legend.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2021-03-12 10:02:55 -08:00

1.3 KiB

+++ title = "Panel legend options" weight = 50 +++

Legend

Use the legend to adjust how a visualization displays series. This legend functionality only applies to a few panels now, but it will eventually be common to all visualizations.

This topic currently applies to the following visualizations:

  • [Pie chart panel]({{< relref "pie-chart-panel.md">}})
  • [Time series panel]({{< relref "time-series/_index.md" >}})

Toggle series

To toggle a series: Click on the series label in the legend to isolate the series in the visualization. All other series are hidden in the visualization. The data of the hidden series is still accessible.

Use Cmd/Ctrl+click on the series label to hide the isolated series and remove the toggle.

Note: This option is persistent when you save the dashboard.

Toggle series visibility

This creates a system override that hides the other series. You can view this override in the Overrides tab. If you delete the override, then it removes the toggle.

Series toggle override example

Change series color

Click on the series icon (colored line beside the series label) in the legend to change selected series color.

Change legend series color