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

Display Formatted Tooltip on chart points

1 Answer 68 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dawit Alemu
Top achievements
Rank 1
Dawit Alemu asked on 14 Dec 2009, 04:21 PM
So, here is my problem.
I am new to teleric RadCharts for WPF and I wanted to draw a chart that has points who have 
1. Different shapes based on their values
2. Different animated tooltips when the user hovers over them (again) based on their values

Is this possible to do? Can some one please walk me through an approach?

Thanks

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 17 Dec 2009, 10:19 AM
Hi Dawit Alemu,

Onto your questions:

  • We assume you are referring to Line series and customizing the point mark shapes -- you can achieve the desired effect via MVVM approach and re-templating the PointMark (you will need to bind the Path.Data property to a property from your data item that holds the desired path geometry.
  • You can handle the ChartArea.ItemToolTipOpening event and you can customize the tooltip appearance as appropriate (you can modify the tooltip content altogether as well by setting the ItemToolTip2D.Content property of the instance passed as first argument to the ItemToolTipOpening handler.

Attached is a sample application to get you started.


Regards,
Manuel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Chart
Asked by
Dawit Alemu
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or