Tooltip on Sparkline

2 posts, 0 answers
  1. Bogdan Badulescu
    Bogdan Badulescu avatar
    1 posts
    Member since:
    Jan 2010

    Posted 17 Feb 2011 Link to this post


    I am trying to display a tooltip on a sparkline that shows date-value information

    the X axis is DateTime, the Y axis is Value

    Basically, I want to add a tooltip on the sparkline (or the area) to show the date interval the sparkline is displaying like so:

    June 1 2009 - December 24 2009

    How would I do that ?

  2. Yavor
    Yavor avatar
    401 posts

    Posted 18 Feb 2011 Link to this post

    Hello Bogdan Badulescu,

    Tooltips are against the sparkline idea/specification. Check these materials on sparklines:

    You can show any content as a tooltip over the sparkline. Just handle the standard mouse-over events and you can display your own content inside a tooltip.

    All the best,
    Yavor Ivanov
    the Telerik team
Back to Top