TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
RodneyB
- Newbie
- Posts: 4
- Joined: Tue May 08, 2007 12:00 am
- Location: Australia
Post
by RodneyB » Thu Jul 26, 2007 7:00 am
How do I zoom using the mouse while keeping the aspect ratio at one with respect to the left and right axis scales?
ie. I want the zoom box to enlarge at an aspect ratio of one regardless of where the user drags the mouse.
-
xxxxxx
- Advanced
- Posts: 128
- Joined: Tue Jun 19, 2007 12:00 am
- Location: Russia
-
Contact:
Post
by xxxxxx » Thu Jul 26, 2007 10:02 am
You can use OnZoom event to correct manually scale of your axis according to your own taste.
Not very smart but works.
Regards,
Alexander