Page 1 of 1

Horizontal Zoom problem

Posted: Tue Feb 28, 2012 8:39 pm
by 10546509
Hi,

When doing a Horizontal zoom the zoom rectangle is not working correctly. In previous version the top and bottom of the zoom rectangle was align with the top and the bottom of the chart. In this version the top of the zoom rectangle is align with the top of the chart but the bottom of the rectangle is align with the Y position of the mouse.

Thanks,

David Brillon

Re: Horizontal Zoom problem

Posted: Fri Mar 02, 2012 10:34 am
by yeray
Hi David,

You are right. I've added it to the defect list to be fixed asap (TV52016064).
Thanks for reporting it.

Re: Horizontal Zoom problem

Posted: Mon Apr 16, 2012 9:09 am
by 16561843
SOLUTION:

Modify Chart.pas, procedureTCustomchart.MouseMove, line 3872

Replace:

begin
X1:=xInt;
Y1:=yInt;
end;

With:

begin
X1:= {$IFDEF FMX}Round{$ENDIF}(x); // xInt;
Y1:= {$IFDEF FMX}Round{$ENDIF}(y); // yInt;
end;

Recompile with TeeRecompile.

Re: Horizontal Zoom problem

Posted: Wed Apr 18, 2012 3:23 pm
by yeray
Hi,

Thanks for the fix suggestion. We've applied it slightly modified. The next maintenance release will include it.

Re: Horizontal Zoom problem

Posted: Fri Jun 08, 2012 12:12 pm
by 10546509
The source code has not been update in version 2012.05.120327. The problem is still present

Re: Horizontal Zoom problem

Posted: Fri Jun 08, 2012 2:52 pm
by yeray
Hi

The latest maintenance release (2012.05.120327) was published on 27/03/2012 and the ticket with number TV52016064 was closed after it, on 18/04/2012. The next maintenance release should include it.

Re: Horizontal Zoom problem

Posted: Fri Jun 08, 2012 3:04 pm
by 10546509
That explain it! :wink:

Thanks