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

Tooltip event on Bubble charts

2 Answers 41 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Nathan
Top achievements
Rank 1
Nathan asked on 06 May 2009, 03:38 PM
Is there a way to trigger the tool tip event for items in the bubble chart?  Thus far I seem only able to get this to work on bar charts.

Thanks!

Edit:  Of course I find the problem with an overlaying data point and solve it  5 minutes after I post this.  Sorry!

2 Answers, 1 is accepted

Sort by
0
Vinay
Top achievements
Rank 1
answered on 23 Apr 2014, 02:28 PM
can you tell us how you solved it? We are also having the same issue
0
Martin Ivanov
Telerik team
answered on 28 Apr 2014, 10:50 AM
Hi Nathan,

Please note that the RadChart is our old charting component which has many know limitations. This is why decided to create new charting components with better implementation and performance. Also the new RadChartView is very flexible and easy to set up. I suggest you to use the RadChartView instead of the old RadChart. In addition you can take a look at the RadChart vs RadChartView help article.

As you can read in the above mentioned help article the new chartview doesn't support bubble series out of the box. However, you can use ScatterPointSeries with a custom PointTemplate this way you can mimic the look and feel of a bubble chart. 

Also the new charting has a ToolTipBehavior and ToolTipTemplate which you can use to control how the tooltips in your series should look.  

If I understand your requirement correctly you want to attach a handler on the tooltip opening. If so you can attach to the DataContextChanged event of the parent element in your ToolTipTemplate. Please let me know if I am missing something. If this doesn't help, can you give me more information about your scenario and what exactly you want to achieve. Thank you in advance for the cooperation.

In addition I attached a sample project with the described approach. Please give it a try and let me know if it helps.

Regards,
Martin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
Chart
Asked by
Nathan
Top achievements
Rank 1
Answers by
Vinay
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or