Set the y-axis label for the plot.
(mut self, label: impl Into<String>)
| 83 | |
| 84 | /// Set the y-axis label for the plot. |
| 85 | pub fn with_y_label(mut self, label: impl Into<String>) -> Self { |
| 86 | let l = label.into(); |
| 87 | if !l.is_empty() { |
| 88 | self.y_label = Some(l); |
| 89 | } |
| 90 | self |
| 91 | } |
| 92 | |
| 93 | /// Enable or disable autoscaling of the plot when new data is added. |
| 94 | pub fn with_autoscale_on_updates(mut self, enabled: bool) -> Self { |
no test coverage detected