Set the x-axis scale mode. Hint: For log-style ticks, consider also setting the tick producer and formatter to use [`crate::log_tick_producer`] and [`crate::log_formatter`].
(mut self, scale: AxisScale)
| 194 | /// Hint: For log-style ticks, consider also setting the tick producer and formatter |
| 195 | /// to use [`crate::log_tick_producer`] and [`crate::log_formatter`]. |
| 196 | pub fn with_x_scale(mut self, scale: AxisScale) -> Self { |
| 197 | self.x_axis_scale = Some(scale); |
| 198 | self |
| 199 | } |
| 200 | |
| 201 | /// Set the y-axis limits (min, max) for the plot. |
| 202 | /// If set, these will override autoscaling for the y-axis. |