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

    Hello,

    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 ?

    Bogdan
  2. Yavor
    Admin
    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:
    http://en.wikipedia.org/wiki/Sparkline
    http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=0001OR&topic_id=1

    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
  3. DevCraft banner
Back to Top