Create a new tick.
(value: f64, step_size: f64, line_type: TickWeight)
| 27 | impl Tick { |
| 28 | /// Create a new tick. |
| 29 | pub fn new(value: f64, step_size: f64, line_type: TickWeight) -> Self { |
| 30 | Self { |
| 31 | value, |
| 32 | step_size, |
| 33 | line_type, |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | /// A function which formats tick values into strings for display on the axis. |
nothing calls this directly
no outgoing calls
no test coverage detected