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

Method set_controls

src/plot_widget.rs:820–822  ·  view source on GitHub ↗

Set full interaction controls behavior for the plot.

(&mut self, controls: PlotControls)

Source from the content-addressed store, hash-verified

818 pub fn set_hover_highlight_provider(&mut self, provider: HighlightPointProvider) {
819 self.hover_highlight_provider = Some(provider);
820 }
821
822 /// Enable or disable the small cursor-position overlay shown in the
823 /// lower-left corner of the plot. Disabled by default.
824 pub fn set_cursor_overlay(&mut self, enabled: bool) {
825 self.cursor_overlay = enabled;

Callers 1

buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected