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

Mouse Cursor

1 Answer 69 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Wyller
Top achievements
Rank 1
Wyller asked on 26 Oct 2010, 06:50 PM
Hi,

I need to drawn a vertical line while the user is moving the mouse over the chart and get the values for each series when he clicks on it.
It's a "DateTime X Number" Line chart that loads a lot of data in a couple series (max 2000 points per series).

Is there anything like this avaliable on RadChart?
How can I get the calculated X and Y values (for each series) based on X mouse position on the chart?

Thanks everyone for the help!

1 Answer, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 29 Oct 2010, 08:30 AM
Hi Wyller,

At present, the latest version of the control has an extended selection api, which can be used, once the end user selects a series item.
The other functionality, which you mentioned (getting the values while you mouse over the chart area) is not supported at present out of the box. One possible option in this case would be to track the mouse movements over the chart area, and match this data to the relevant actual data. However, this would require custom logic and code, depending on the data, data series and chart layout.
I hope this information helps.

Greetings,
Yavor
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Wyller
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or