Highcharts - Shared tooltips only in overlapping points
Hope you understand the basics of the Highcharts tooltips. Highcharts has a shared tooltip option but it will be shared on all points. What if you want to have a shared tooltip only when points are overlapping? There is no such an option in Highcharts to get a shared tooltip only when the points are overlapping.
Below I have shown a work-around to get a shared tooltip only when the points overlap (graphs intersect).
http://jsfiddle.net/Malinga/2jbdqe6x/7/
If you need to get the shared tooltip not only they overlap but also when there are too close you can just change the comparison within the if close as shown in the below example
Enjoy Reading This Article?
Here are some more articles you might like to read next: