The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/docs/sources/panels/legend-options.md

1.4 KiB

+++ title = "Legend options" aliases = ["/docs/grafana/latest/panels/visualizations/panel-legend/"] weight = 950 +++

Legend options

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 "visualizations/pie-chart-panel.md">}})
  • [Time series panel]({{< relref "visualizations/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