How to avoid "flickering" bei Cursortool?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
MU
Newbie
Newbie
Posts: 24
Joined: Mon Sep 05, 2005 4:00 am

How to avoid "flickering" bei Cursortool?

Post by MU » Tue Aug 22, 2006 6:42 am

Hi.
I dont know if "flicker" is the right word but I have such a problem:
I use a cursortool which follows the mouse. Though the cursor follow the mouse ,when I move the mouse over the chart, but I seems like a slow motion. I see the cursor on all over the points from the beginning Point to the mouse pointer. Ok I use a method that makes a comlex calculation on change evert of the cursortool, but there must be a way to fix this problem.
Thanks... :roll:

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

Post by Narcís » Tue Aug 22, 2006 9:17 am

Hi MU,

Could you please send us an example we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

Thanks in advance.
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

MU
Newbie
Newbie
Posts: 24
Joined: Mon Sep 05, 2005 4:00 am

Post by MU » Wed Aug 23, 2006 6:07 am

Hi Narcis.. I can not send you ma ycode. But you can try to do something like that in "Change event" of the cursortool:

for(int i=0; i<10000;i++)
{
label1.Text=i.ToString();
}




(Cursortool follows the mouse, I have just a line in my tchart.)
Thanks..

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Aug 28, 2006 1:18 pm

Hi,

I think the best way to solve this would be to draw your custom cursor (using the canvas techniques, drawing a line onto the Chart object using the OnMouseMove event) and then do the calculations there.

Post Reply