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

Method set_x_axis_formatter

src/plot_widget.rs:857–859  ·  view source on GitHub ↗

Set a custom formatter for the x-axis tick labels. The formatter receives a GridMark (containing the tick value and step size) and the current visible range on the x-axis.

(&mut self, formatter: TickFormatter)

Source from the content-addressed store, hash-verified

855 pub fn get_controls(&self) -> &PlotControls {
856 &self.controls
857 }
858
859 /// Get the mutable full interaction controls behavior for the plot.
860 pub fn get_controls_mut(&mut self) -> &mut PlotControls {
861 &mut self.controls
862 }

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected