This is a migrated thread and some comments may be shown as answers.

disable magnetism of line chart tooltip

2 Answers 88 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Jonathan
Top achievements
Rank 1
Jonathan asked on 29 Apr 2016, 10:19 PM

Example: http://dojo.telerik.com/ipura

Is it possible to have the tooltip for a plot point on a line chart show only when the mouse is directly over that point on the x axis.  If you look at the example link, when you hover over the first point, it shows the tooltip.  However, the tooltip does not disappear as you move tho the right.  When you get to the point that is in the gap, the tooltip bounces from the first point to the third depending on which side the mouse is on.

Is there a solution to this?  The sparkline seems to do this correctly.  When I hover over a gap on the sparkline, the tooltip disappears.

2 Answers, 1 is accepted

Sort by
0
Jonathan
Top achievements
Rank 1
answered on 29 Apr 2016, 10:24 PM
It would also be nice if the tooltip showed up _only_ when the crosshair and mouse are directly on the x axis.
0
Iliana Dyankova
Telerik team
answered on 03 May 2016, 02:40 PM
Hi Jonathan,

Setting the tooltip shared option to true should help to get the expected behavior. For your convenience here is the updated dojo.

Regards,
Iliana Nikolova
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Jonathan
Top achievements
Rank 1
Answers by
Jonathan
Top achievements
Rank 1
Iliana Dyankova
Telerik team
Share this question
or