TrackballTextNeeded event not firing (all the time)

2 posts, 0 answers
  1. Harold
    Harold avatar
    2 posts
    Member since:
    Sep 2012

    Posted 21 Mar 2013 Link to this post

    I have configured the ChartTrackballController and added it to the ChartView.  The event does fire, but there are times when it does not.  I can move the mouse pointer left and right over the chart and most of the time the text is updated and displayed.  However, there are times when the mouse is moved the data point is moved but the trackball information is not moved or updated.  The event never fires.

    Is this a known issue?

    // Configure the trackball.
    var trackball = new ChartTrackballController();
    pingChart.ShowTrackBall = true;
    trackball.TextNeeded += TrackballTextNeeded;

            private void TrackballTextNeeded(object sender, TextNeededEventArgs e)
                Debug.WriteLine("{0} - trackball calculation.", DateTime.Now);

                e.Text = "Test...";

  2. Ivan Petrov
    Ivan Petrov avatar
    701 posts

    Posted 26 Mar 2013 Link to this post

    Hello Harold,

    Thank you for writing.

    I tried to reproduce the issue you have described but I was unable to do so. Looking at the implementation of the TrackballTextNeeded event it is fired every time the trackball is moved. Therefore I would kindly ask you to provide a more detailed explanation as to how to reproduce the issue. If you are able to isolate a sequence of actions that reproduce the issue I will be able to reproduce it and provide you with an adequate support.

    Looking forward to your reply.

    Ivan Petrov
    the Telerik team
    WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
  3. DevCraft R3 2016 release webinar banner
Back to Top