This is a migrated thread and some comments may be shown as answers.

Tooltip on Sparkline

1 Answer 79 Views
Sparkline
This is a migrated thread and some comments may be shown as answers.
Bogdan Badulescu
Top achievements
Rank 1
Bogdan Badulescu asked on 17 Feb 2011, 06:31 PM
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

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 18 Feb 2011, 09:36 AM
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
Tags
Sparkline
Asked by
Bogdan Badulescu
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or