Too many tooltips

I have a line chart of about 400px width containing like 40 data points. So each the horizontal distance between two points is about 4px. When I mouseover one point, instead of seeing the tooltip of just that point I see the tooltip for that point AND the tooltip for neighbour points, seeing a total of ~4 tooltips overlapped.

Is there an option to show at max one tooltip at a time?

Author: Fantashit

1 thought on “Too many tooltips

  1. After looking through the source I managed to fix the issue by passing the following option:

            var options = {
                pointHitDetectionRadius : 3
            };
    

    So, by making the hitRadius smaller close points do not show multiple tooltips at once. (even though they will still show 2 overlapping tooltips if they are close enough).

Comments are closed.