Page 1 of 1

CursorTool not working properly - endless slow - 100% CPU

Posted: Tue Sep 26, 2006 11:12 am
by 8121965
We want to move a CrossCursor across the Chart. This supports the user to easily see the intersection points on the axes.
We have 1 to n (up to 20) series drawn on the Chart.
Using the Cursortool CPU usage goes up to 100%. Additionally the Cross is not following the mouse immediately. It is always behind the arrow which indicates the cursor movement.

The code we use to activate the cursor:

TChart1.Tools.Add(cursor1)
cursor1.FollowMouse = True
cursor1.Style = Steema.TeeChart.Tools.CursorToolStyles.Both

We posted this problem over a year ago but the problem is still there in the newest version we downloaded.

As the CrossCursor is a Customer request the solution of the problem is very urgent for us.
Can you make a statement about intended bugfixes to this problem, or do you know a workaround ?

Thanx in advance

Posted: Tue Sep 26, 2006 1:01 pm
by Marjan
Hi.

What's the total number of points per series ? I'm guessing here but most likely the number of points is large (compared to number of pixels i.e. chart size). Does the same problem occur when you reduce the number of points in series ?

Posted: Tue Sep 26, 2006 3:07 pm
by 8121965
Hi,
You are right, the more points are loaded the slower the cursor reacts. But i can't see the context (perhaps you can explain)
The CPU usage is always near 100% regardless the number of points per series.
The size of the the Chart is controlled by our users. The proposal to decrease the number of points per series will not be a solution to our problem.