MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / with_y_label

Method with_y_label

src/plot_widget_builder.rs:85–91  ·  view source on GitHub ↗

Set the y-axis label for the plot.

(mut self, label: impl Into<String>)

Source from the content-addressed store, hash-verified

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 {

Callers 12

newFunction · 0.80
newFunction · 0.80
plot_widgetFunction · 0.80
newFunction · 0.80
newMethod · 0.80
new_plotFunction · 0.80
newFunction · 0.80
newFunction · 0.80
newFunction · 0.80
newFunction · 0.80
marker_plotFunction · 0.80
newMethod · 0.80

Calls 1

is_emptyMethod · 0.80

Tested by

no test coverage detected