Hi,
I am not sure if there is a way to limit zooming in when the graph is already zoomed in too many times. By "too many times" I mean the state at which further zooming in just can't change axis limits at all. Why? Because when we have already zoomed in enough times, the x-axis are labeled the same for every label on the x-axis, and similar for the y-axis. I think axis.minimum and axis.maximum are equal at that time in TeeChart. So it is not very useful to allow the user to continue to drag-and-zoom any more.
In your opinion is it possible to implement the above requirement? In summary, it means: if (axis.maximum - axis.minimum < some constant DISSALLOWED_ZOOM) then do not allow the user to zoom in any more, and just allow the user to zoom out only.
By the way, I was thinking of the event Mouse Up, but I don't know between Mouse Up and Zoomed event, which one is triggered first? I believe that Mouse Up is triggered before Zoomed, is that right?
Thank you.
Huy