Back to Grafana

Legend options

docs/sources/shared/visualizations/legend-options-1.md

13.0.12.0 KB
Original Source

Legend options control the series names and statistics that appear under or to the right of the graph. For more information about the legend, refer to Configure a legend.

OptionDescription
VisibilityToggle the switch to turn the legend on or off.
ModeUse these settings to define how the legend appears in your visualization. List displays the legend as a list. This is a default display mode of the legend. Table displays the legend as a table.
PlacementChoose where to display the legend. Bottom places the legend below the graph. Right places the legend to the right of the graph.
WidthControl how wide the legend is when placed on the right side of the visualization. This option is only displayed if you set the legend placement to Right.
LimitLimit how many series items are shown by default. The rest become expandable using a Show all link.
ValuesChoose which of the standard calculations to show in the legend. You can have more than one.