pub fn format_tick(value: f64, step: f64) -> String
A tick value at the precision its step implies, without trailing zeros: 0.5, 2, -0.25, and exactly 0 at the origin.
step
0.5
2
-0.25
0