Strange zooming behaviour

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
rtech
Newbie
Newbie
Posts: 8
Joined: Tue Apr 27, 2021 12:00 am

Strange zooming behaviour

Post by rtech » Thu May 06, 2021 2:21 pm

Hello.

How can i limit chat zoom with the mouse?
Then I zoomed about 24 times, I have only horizontal line. If i try to zoom in again only one point remains. Line can be vertical as well.

First image - test line on chart
Secons - line after 20+ zooms
Third - the last zoom
Attachments
3.png
3.png (4.8 KiB) Viewed 5298 times
2.png
2.png (4.98 KiB) Viewed 5298 times
1.png
1.png (11.05 KiB) Viewed 5298 times

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

Re: Strange zooming behaviour

Post by Yeray » Fri May 07, 2021 4:23 pm

Hello,

You can use OnZoom event to save the axes scales every-time the use zooms. Then, you can add a condition at the same event restoring the last axes scales that passed the condition.
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

Post Reply