Tooltip position prevents click on short bars

3 posts, 0 answers
  1. Sylvain
    Sylvain avatar
    24 posts
    Member since:
    Feb 2011

    Posted 13 Jul 2015 Link to this post

    - Open this demo. http://dojo.telerik.com/Inoca/2

    - Click  the first bar in the graph. you get an alert().

    - Try and click last bar

    - Bug: you can't, the tooltip hides the bar.

     

  2. Plamen Lazarov
    Admin
    Plamen Lazarov avatar
    135 posts

    Posted 15 Jul 2015 Link to this post

    Hello ​Sylvain,

    Actually, the tooltip overlaps the last bar because there is not enough space for it outside the Chart, where the browser viewport ends. Setting a smaller width for the widget solves the issue. An alternative approach is to tweak the tooltip position with appropriate negative top/left margins.

    Here is an updated snippet, which demonstrates both techniques. Choose one, according to your preferences.

    http://dojo.telerik.com/Inoca/4 

    Regards,
    Plamen Lazarov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Sylvain
    Sylvain avatar
    24 posts
    Member since:
    Feb 2011

    Posted 15 Jul 2015 in reply to Plamen Lazarov Link to this post

    Hi,

    Thanks, changing the position of the tooltip solves my problem.

    Sylvain

Back to Top