Skip to main content

draw_legend

Function draw_legend 

Source
pub fn draw_legend(
    scales: &ScaleSet,
    theme: &Theme,
    plot_area: &Rect,
    backend: &mut dyn DrawBackend,
    guide: &GuideLegend,
    suppressed: &HashSet<Aesthetic>,
) -> Result<(), RenderError>
Expand description

Draw all legends for the plot.