Enable or disable the small cursor position overlay shown in the lower-left corner of the plot. By default it's disabled when not set.
(mut self, enabled: bool)
| 132 | /// Enable or disable the small cursor position overlay shown in the |
| 133 | /// lower-left corner of the plot. By default it's disabled when not set. |
| 134 | pub fn with_cursor_overlay(mut self, enabled: bool) -> Self { |
| 135 | self.cursor_overlay = Some(enabled); |
| 136 | self |
| 137 | } |
| 138 | |
| 139 | /// Provide a custom formatter for the cursor overlay. Called with |
| 140 | /// (x, y) world coordinates and should return the formatted string. |