Background opacity for the legend box
Border/stroke color for the legend box
Border opacity for the legend box
Corner radius of the legend box
Border width for the legend box
Font color for the legend labels
Font family for the legend labels
Font size for the legend labels
OptionalmaxMaximum height of the legend before it starts scrolling (in pixels). If not provided, defaults to the plot height.
Padding inside the legend box (in pixels)
Vertical space between legend entries
Height of the color swatch next to each label
Gap between the swatch and the label text
Width of the color swatch next to each label
Duration of the visibility transition in milliseconds
Background fill color for the legend box