Track Ball update

2 posts, 0 answers
  1. Michael
    Michael avatar
    6 posts
    Member since:
    Feb 2013

    Posted 22 Mar 2013 Link to this post


    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?

  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 27 Mar 2013 Link to this post

    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.

    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top