pub fn layout<'a>( labels: impl IntoIterator<Item = &'a str>, left: f64, right: f64, top: f64, ) -> Vec<Rect>
Place legend items left-to-right and wrap before the chart edge.