Skip to main content

layout

Function layout 

pub fn layout<'a>(
    labels: impl IntoIterator<Item = &'a str>,
    left: f64,
    right: f64,
    top: f64,
) -> Vec<Rect>
Expand description

Place legend items left-to-right and wrap before the chart edge.