Hi,
when a user zooms a graph with the mouse successivly, i.e.
1st Zoom
2nd Zoom further
3rd Zoom further
How can I undo the zoom incrementally ??i.e. refering to the
3 zooms above:
1. Undo zoom to where the graph was after the 2nd zoom
2. Undo zoom to where it was after the 1st zoom
3. Undo zoom to be back where the graph was in the beginning.
Thanks,
fano
How to Undo sequential zooms one by one?
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi fano,
You could do that by storing vertical and horizontal axes minimum and maximum positions after each zoom is done. To undo the zoom you can use axes SetMinMax method to restore each axes minimum and maximum values.
You could do that by storing vertical and horizontal axes minimum and maximum positions after each zoom is done. To undo the zoom you can use axes SetMinMax method to restore each axes minimum and maximum values.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |