Set the rendering strategy used by the plot.
(&mut self, strategy: PlotRenderStrategy)
| 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 | } |