pub fn plan(
chart: &Chart,
size: [f32; 2],
line: f32,
measure: &mut dyn FnMut(&str) -> f32,
) -> Option<Plan>Expand description
chart laid out at size, its labels line high and as wide as measure
says. None for what cannot be drawn: a field the data does not hold, a
quantitative field over text, a colour that is not discrete, layers that
disagree on which axis is discrete, a layered arc, or a size too small to
hold a plot.