Custom chart tooltips

2 posts, 0 answers
  1. Alex
    Alex avatar
    1 posts
    Member since:
    Jun 2010

    Posted 19 Jul 2013 Link to this post

    How do I add a button to a tooltip so that when it is clicked it passes the dataItem of that point to a function? I need this to work across multiple types of charts.
  2. Hristo Germanov
    Hristo Germanov avatar
    703 posts

    Posted 23 Jul 2013 Link to this post

    Hello Rishan,

    In order to achieve your goal you need to add a template with a button with function wire up to the onclick client event and pass the dataItem to this function. You can examine this jsbin:

    I hope this helps.

    Hristo Germanov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top