The items in each of the lists can be a literal value, like 5
or
"blue", or they can be a scaled_value
object.
legend_props(
title = NULL,
labels = NULL,
symbols = NULL,
gradient = NULL,
legend = NULL
)
A named list of text properties for the legend title.
A named list of text properties for legend labels.
A named list of line properties for symbols (for discrete legend items).
A named list of line properties a continuous color gradient.
A named list of line properties for the overall legend. The x and y position can be set here, which will override automatic positioning.