ColorLine and 100% CPU usage

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Michael
Newbie
Newbie
Posts: 6
Joined: Tue Jul 13, 2004 4:00 am
Location: South Africa

ColorLine and 100% CPU usage

Post by Michael » Mon Apr 10, 2006 9:47 am

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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Apr 19, 2006 9:13 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply