| 14 | /// A position along an axis where a grid line and tick label is placed. |
| 15 | #[derive(Debug, Clone, Copy, PartialEq)] |
| 16 | pub struct Tick { |
| 17 | /// The value at this tick in world coordinates |
| 18 | pub value: f64, |
| 19 | |
| 20 | /// The step size between ticks |
| 21 | pub step_size: f64, |
| 22 | |
| 23 | /// The visual weight of the grid line at this tick |
| 24 | pub line_type: TickWeight, |
| 25 | } |
| 26 | |
| 27 | impl Tick { |
| 28 | /// Create a new tick. |
nothing calls this directly
no outgoing calls
no test coverage detected