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

Obtain the value between two point on mouse over

3 Answers 79 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Terry
Top achievements
Rank 1
Terry asked on 05 Jul 2008, 12:13 PM
I would like to know is it possible to get the value between two points in RadChart?

If it is possible, would you show me some examples, thanks a lot.

http://img.photobucket.com/albums/v383/terryhui/radChart.gif

3 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 07 Jul 2008, 09:42 AM
Hi Terry,

Unfortunately such functionality is not supported by the RadChart control and it would not be possible to get the value on mouseover. RadChart exposes only OnClick event that is raised when clicking various chart elements like series items, legend items, and the chart title.


Regards,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Terry
Top achievements
Rank 1
answered on 07 Jul 2008, 03:46 PM
Thanks for the reply.

For my application, the X-Axis will be the time.

The user required to get the value of Y-Axis and the time of X-Axis on the chart on any point of the line. For emaple, in the mid-point between 10 and 20, the user expects to get the value 15 and 9.5

If mouseover is not possible, can onClick meet the requirement? 

Or can we use the height and width of the PlotArea to calculate the x and y coordinate and get the answer?

http://img146.imageshack.us/my.php?image=radchart2lt6.jpg
0
Giuseppe
Telerik team
answered on 08 Jul 2008, 07:24 AM
Hello Terry,

Unfortunately we do not believe this server side event would be useful for your scenario -- the OnClick event is fired only when clicking on a PointMark and not on the line itself (i.e. between PointMarks).


Sincerely yours,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Chart (Obsolete)
Asked by
Terry
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Terry
Top achievements
Rank 1
Share this question
or