pub fn span_index_for_breakpoints(
breakpoints: &[f64],
value: f64,
label: &str,
) -> Result<usize, String>Expand description
Select the span containing value, using [left, right) for every span
except the final span, which is right-closed.