Set a custom formatter for the y-axis tick labels. The formatter receives a GridMark (containing the tick value and step size) and the current visible range on the y-axis.
(&mut self, formatter: TickFormatter)
| 862 | } |
| 863 | |
| 864 | /// Enable or disable point highlighting while hovering. |
| 865 | pub fn set_highlight_on_hover(&mut self, enabled: bool) { |
| 866 | self.highlight_on_hover = enabled; |
| 867 | } |
| 868 | |
| 869 | /// Return whether point highlighting while hovering is enabled. |