Enable or disable crosshairs that follow the cursor position.
(mut self, enabled: bool)
| 148 | |
| 149 | /// Enable or disable crosshairs that follow the cursor position. |
| 150 | pub fn with_crosshairs(mut self, enabled: bool) -> Self { |
| 151 | self.crosshairs = Some(enabled); |
| 152 | self |
| 153 | } |
| 154 | |
| 155 | /// Select which rendering path the plot should use. |
| 156 | pub fn with_render_strategy(mut self, strategy: PlotRenderStrategy) -> Self { |