pub fn ticks(
scale: &TimeScale,
view: &TimeView,
width: f32,
measure: &dyn Fn(&str) -> f32,
) -> TicksExpand description
The steps the ruler takes for view across width points: the finest
whose labels, measured by measure (their width in points), never
overlap; and under it the finest grid that divides it and keeps
MIN_TICK_GAP.