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

[Solved] Display a property as tooltip or template

2 Answers 93 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Lukas
Top achievements
Rank 1
Lukas asked on 16 Dec 2011, 04:09 PM
Hi 

Is there a way to show a property value as tooltip and/or template?

Greetings Lukas

2 Answers, 1 is accepted

Sort by
0
Accepted
David Bakker
Top achievements
Rank 1
answered on 24 Feb 2012, 08:20 PM
If you are using ajax you can do

.Tooltip(tt => tt
       .Visible(true)
 .Template("<#= dataItem.ToolTip #>")
   )


where ToolTip is a property in my data item class.
0
Lukas
Top achievements
Rank 1
answered on 28 Feb 2012, 07:51 AM
Thanks for the reply.

I found the answer meanwhile here:
http://www.telerik.com/community/forums/aspnet-mvc/chart/scatter-chart-tooltip-and-label-template.aspx 

But I have an other issue I'm struggling with. If perhaps somebody knows an answer?

http://www.telerik.com/community/forums/aspnet-mvc/chart/coloring-markers.aspx 

Tags
Chart
Asked by
Lukas
Top achievements
Rank 1
Answers by
David Bakker
Top achievements
Rank 1
Lukas
Top achievements
Rank 1
Share this question
or