Page 1 of 1

ColorLine and 100% CPU usage

Posted: Mon Apr 10, 2006 9:47 am
by 8126160
Hi

This may be related to the cursor tool problem.

When the ColorLine tool is dragged, CPU usage jumps to 100% and remains there until the mouse button is released, irrespective of whether the mouse is moved.

Interestingly, it happens only when DragRepaint == false. In this case, DoDragLine() is called repeatedly even when the mouse is stationary. If DragRepaint == true, it is only called when the mouse is actually moved.

I'm using the latest build (1.1.2259.29262), and the problem appears in earlier versions as well.

The issue for me is that I would prefer DragRepaint off, because I'm doing some extra stuff in a derived control, and would like to handle triggering repainting only when I need it.

Thanks
`m

Posted: Wed Apr 19, 2006 9:13 am
by narcis
Hi Michael,

This bug is fixed in TeeChart for .NET v2. We will try to fix it in v1 as well and make another maintenance release including this fix.