Skip to main content

left_gutter

Function left_gutter 

Source
pub fn left_gutter(spec: &PlotSpec, view: &PlotView) -> f32
Expand description

The left gutter needed to fit view’s Y tick labels without clipping, floored at GUTTER_LEFT_MIN. Measures the widest formatted Y tick label in the same font/size/count draw_ops draws them.