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

Method set_series_positions

src/plot_widget.rs:879–889  ·  view source on GitHub ↗

Set the positions of an existing series.

(&mut self, id: &ShapeId, positions: &[[f64; 2]])

Source from the content-addressed store, hash-verified

877 }
878
879 /// Return whether the in-canvas controls/help UI is enabled.
880 pub fn controls_help_enabled(&self) -> bool {
881 self.show_controls_help
882 }
883
884 /// Set a custom formatter for the x-axis tick labels.
885 /// The formatter receives a GridMark (containing the tick value and step size)
886 /// and the current visible range on the x-axis.
887 pub fn set_x_axis_formatter(&mut self, formatter: TickFormatter) {
888 self.x_axis_formatter = Some(formatter);
889 }
890
891 /// Set a custom formatter for the y-axis tick labels.
892 /// The formatter receives a GridMark (containing the tick value and step size)

Callers 1

move_control_pointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected