CursorTool sometimes goes beyond chart area

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
huy
Newbie
Newbie
Posts: 22
Joined: Fri Dec 29, 2006 12:00 am

CursorTool sometimes goes beyond chart area

Post by huy » Tue Nov 06, 2007 6:52 am

Hi TeeChart Team,

My application is using the CursorTool. The cursor has FollowMouse set to true. When i move the mouse around, it follows mouse correctly and stays within the chart area defined by the 2 axes. However, while the cursor tool is still FollowMouse, if I dragthe mouse downwards-rightwards (to have a zooming effect), sometimes the cursor tool goes out of the chart area.

I don't know if anybody has reported this. But it's quite difficult to reproduce (I only have a screenshot) which shows the cursor tool having its horizontal segment lying over the top axis, and its vertical segment lying still inside of the charting area.

If you have any clues of this behavior, please let me know.

Thank you.
Huy

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 Nov 06, 2007 8:54 am

Hi Huy,

It's very difficult for us making any suggestion without being able to reproduce the problem here. Could you please send us a simple example project we can run "as-is" or let us know the exact steps we should follow to reproduce the problem here? Could you also let us know the exact TeeChart version you are using?

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

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

huy
Newbie
Newbie
Posts: 22
Joined: Fri Dec 29, 2006 12:00 am

Post by huy » Wed Nov 07, 2007 2:43 am

I will try to find time to make a sample. If I am ready I will come back to you.

Thank you.

huy
Newbie
Newbie
Posts: 22
Joined: Fri Dec 29, 2006 12:00 am

Post by huy » Fri Nov 09, 2007 3:16 am

Finally I have figured out how to reproduce that artifact.
Start with your demo program "Welcome !\Tools\Cursor\Moving programatically".

Use the right mouse button to drag the chart very slowly rightwards-upwards until the horizontal segment of the cursor tool goes out of the top axis of the graph. That is, the cursor tool has just overshot the charting area.

The screenshot of the overshooting problem will be uploaded to the client's upload area with the filename being "CursorTool overshoots.JPG"

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

Post by Narcís » Mon Nov 12, 2007 9:14 am

Hi huy,

Thanks for the image. In that case you can do something as what I suggested here.
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

huy
Newbie
Newbie
Posts: 22
Joined: Fri Dec 29, 2006 12:00 am

Post by huy » Mon Nov 12, 2007 9:31 am

Thanks a lot for the quick reply. I think it solves my problem too.

Post Reply