disable magnetism of line chart tooltip

3 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    10 posts
    Member since:
    Feb 2014

    Posted 29 Apr Link to this post

    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. Jonathan
    Jonathan avatar
    10 posts
    Member since:
    Feb 2014

    Posted 29 Apr Link to this post

    It would also be nice if the tooltip showed up _only_ when the crosshair and mouse are directly on the x axis.
  3. Kendo UI is VS 2017 Ready
  4. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 03 May Link to this post

    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!
     
Back to Top