Set the scale for the X dimension.
(mut self, scale: &'a impl Scale<T>)
| 41 | |
| 42 | /// Set the scale for the X dimension. |
| 43 | pub fn set_x_scale(mut self, scale: &'a impl Scale<T>) -> Self { |
| 44 | self.x_scale = Some(scale); |
| 45 | self |
| 46 | } |
| 47 | |
| 48 | /// Set the scale for the Y dimension. |
| 49 | pub fn set_y_scale(mut self, scale: &'a impl Scale<U>) -> Self { |