Horizontal Zoom problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
dbrillon
Newbie
Newbie
Posts: 3
Joined: Tue Aug 21, 2007 12:00 am
Contact:

Horizontal Zoom problem

Post by dbrillon » Tue Feb 28, 2012 8:39 pm

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

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Horizontal Zoom problem

Post by Yeray » Fri Mar 02, 2012 10:34 am

Hi David,

You are right. I've added it to the defect list to be fixed asap (TV52016064).
Thanks for reporting it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

idibaix
Newbie
Newbie
Posts: 1
Joined: Thu Mar 01, 2012 12:00 am
Location: Barcelona
Contact:

Re: Horizontal Zoom problem

Post by idibaix » Mon Apr 16, 2012 9:09 am

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.

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Horizontal Zoom problem

Post by Yeray » Wed Apr 18, 2012 3:23 pm

Hi,

Thanks for the fix suggestion. We've applied it slightly modified. The next maintenance release will include it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

dbrillon
Newbie
Newbie
Posts: 3
Joined: Tue Aug 21, 2007 12:00 am
Contact:

Re: Horizontal Zoom problem

Post by dbrillon » Fri Jun 08, 2012 12:12 pm

The source code has not been update in version 2012.05.120327. The problem is still present

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Horizontal Zoom problem

Post by Yeray » Fri Jun 08, 2012 2:52 pm

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.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

dbrillon
Newbie
Newbie
Posts: 3
Joined: Tue Aug 21, 2007 12:00 am
Contact:

Re: Horizontal Zoom problem

Post by dbrillon » Fri Jun 08, 2012 3:04 pm

That explain it! :wink:

Thanks

Post Reply