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

Method set_render_strategy

src/plot_widget.rs:810–817  ·  view source on GitHub ↗

Set the rendering strategy used by the plot.

(&mut self, strategy: PlotRenderStrategy)

Source from the content-addressed store, hash-verified

808 pub fn hover_radius_px(&mut self, radius: f32) {
809 self.hover_radius_px = radius.max(0.0);
810 }
811
812 /// Set a custom highlighter for picked point.
813 pub fn set_pick_highlight_provider(&mut self, provider: HighlightPointProvider) {
814 self.pick_highlight_provider = Some(provider);
815 }
816
817 /// Set a custom highlighter for hovered point.
818 pub fn set_hover_highlight_provider(&mut self, provider: HighlightPointProvider) {
819 self.hover_highlight_provider = Some(provider);
820 }

Callers 1

buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected