docs/sources/shared/visualizations/legend-options-2.md
When the legend option is enabled it can show either the value mappings or the threshold brackets. To show the value mappings in the legend, it's important that the Color scheme as referenced in Color scheme is set to Single color or Classic palette. To see the threshold brackets in the legend set the Color scheme to From thresholds.
For more information about the legend, refer to Configure a legend.
Toggle the switch to turn the legend on or off.
Use these settings to define how the legend appears in your visualization.
Choose where to display the legend.
Control how wide the legend is when placed on the right side of the visualization. The value may be a simple pixel width or a more complex CSS width property such as max(200px, 20%). This option is only displayed if you set the legend placement to Right.
Control how overflow for long series names is handled. This option is only displayed if you set the legend placement to Right and mode is Table.