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

Method set_x_axis_label

src/plot_widget.rs:268–270  ·  view source on GitHub ↗

Set the x-axis label.

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

Source from the content-addressed store, hash-verified

266 self.data_version = self.data_version.wrapping_add(1);
267 Ok(())
268 }
269
270 /// Add a horizontal reference line to the plot.
271 /// If there exists a line with the same `hline.id` ([ShapeId]), the old one will be replaced.
272 pub fn add_hline(&mut self, hline: HLine) {
273 self.hlines.insert(hline.id, hline);

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected