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

Method set_y_axis_formatter

src/plot_widget.rs:864–866  ·  view source on GitHub ↗

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

(&mut self, formatter: TickFormatter)

Source from the content-addressed store, hash-verified

862 }
863
864 /// Enable or disable point highlighting while hovering.
865 pub fn set_highlight_on_hover(&mut self, enabled: bool) {
866 self.highlight_on_hover = enabled;
867 }
868
869 /// Return whether point highlighting while hovering is enabled.

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected