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

Track Ball update

1 Answer 82 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 22 Mar 2013, 05:40 PM
Hi,

I have a chart that is updated with live values. The chart's axis always shows a minutes worth of data and a slider controls what part of the axis we are looking at. The chart also supports a track ball feature when moused over. The problem with this is that the track ball info is only updated on mouse movement. The chart however is always changing, so if there is no mouse movement and the cursor is left over the graph, then the track ball information will never be updated. 
I currently have a "bad" solution where I update the mouse position to move a pixel from current location. This works, but isn't very appealing. Is there a way to update the trackball a different way?

Thanks

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 27 Mar 2013, 12:00 PM
Hello Michael,

Unfortunately there is no out-of-the-box way to force the track ball to update. The track ball updates its content only when the mouse moves. I cannot suggest a work-around for this, using the TrackBallBehavior. Perhaps you can remove the track ball behavior and use annotations instead. I have attached a small project to demonstrate how this can be done.

I have logged this as a feature request in our PITS where you can vote for it and track its status.

We are sorry for this inconvenience. Let us know if we can assist you further.

Regards,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ChartView
Asked by
Michael
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or