Zoom box

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
matthbri
Newbie
Newbie
Posts: 43
Joined: Wed Mar 22, 2006 12:00 am

Zoom box

Post by matthbri » Wed Jul 05, 2006 9:48 pm

When zooming on the chart by dragging the mouse to create the zoom box, the zoom box will not appear if the mouse cursor is over an actual trend line, or within a few pixels. Is this a fixed 'feature', or can it be made to always zoom regardless of where the click occurs.

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

Post by Narcís » Thu Jul 06, 2006 8:40 am

Hi matthbri,

I'm not able to reproduce the issue here using latest TeeChart version avaiable. Could you please let us know which TeeChart version are you using and the exact steps to reproduce the issue?

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

matthbri
Newbie
Newbie
Posts: 43
Joined: Wed Mar 22, 2006 12:00 am

Post by matthbri » Thu Jul 06, 2006 10:12 pm

The version we are using is v2.0.50727

I cannot reprouce it in your demo apps. Maybe something to do with my mousedown handler. But it is strange that it works when clicking in empty space, but not on a drawn line. I will do some more tests.
I notice that on your demo the mouse goes to cross-hair cursor when over a line. it doesnt on mine.

matthbri
Newbie
Newbie
Posts: 43
Joined: Wed Mar 22, 2006 12:00 am

Post by matthbri » Thu Jul 06, 2006 10:20 pm

OK, I found it. I had an empty m_Chart_ClickSeries event handler. if this is specified, it stops zoom working when clicking on the graph line. By design, I guess?

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

Post by Narcís » Fri Jul 07, 2006 10:45 am

Hi matthbri,

Thanks for the information. I could reproduce the issue here. Instead of using TeeChart's ClickSeries event you can use Series's Click event. I've added an issue (TF02011563) to our defect list so that both events have the same behaviour in future releases.
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