Settings and activity
1 result found
-
82 votes
Here’s a small drop-in snippets that stops tooltips from the mousemove event, and applies them to the click instead. Touch devices should be unaltered.
Terry Aney supported this idea ·An error occurred while saving the comment
Similar to Matt, when shared tooltips are enabled, it fails. I'm not 100% sure if I need that or not, so I put a breakpoint in the highcharts refresh method and manually set shared=false to test. However, I have a custom tooltip formatter. Inside the formatter, I use this.points to enumerate the points, but when I use your code, this.points is undefined when the formatter function is called from the refresh method.
Any ideas?