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

TrackballTextNeeded event not firing (all the time)

1 Answer 81 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Harold
Top achievements
Rank 1
Harold asked on 21 Mar 2013, 08:01 PM
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.Controllers.Add(trackball);
pingChart.ShowTrackBall = true;
trackball.TextNeeded += TrackballTextNeeded;

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

            e.Text = "Test...";
        }

1 Answer, 1 is accepted

Sort by
0
Ivan Petrov
Telerik team
answered on 26 Mar 2013, 01:31 PM
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.

Regards,
Ivan Petrov
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
ChartView
Asked by
Harold
Top achievements
Rank 1
Answers by
Ivan Petrov
Telerik team
Share this question
or