Page 1 of 1
Zoom box
Posted: Wed Jul 05, 2006 9:48 pm
by 9790735
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.
Posted: Thu Jul 06, 2006 8:40 am
by narcis
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.
Posted: Thu Jul 06, 2006 10:12 pm
by 9790735
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.
Posted: Thu Jul 06, 2006 10:20 pm
by 9790735
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?
Posted: Fri Jul 07, 2006 10:45 am
by narcis
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.