Hi,
I have an x-axis which has 2 types of values (one with large values and the other with very small values), which the user can switch between them.
Whenever the chart is zoomed or scaled, and the x-axis gets the other set of values, the scale changes.
I want to return to the same zoom/scale applied with the other x-axis.
I've done this for zoom, by keeping all last zoom rectangles, and then manually zooming out and back in with those zoomes.
my probelm is with scroll. How do i check if the current chart is scrolled and the amount it is scrolled (in each direction), in order to mimic it manually by code ?
Regards,
Yair
how to check if chart is scrolled and the scroll amounts
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Yair,
You should use Scroll event for retrieving axes min. and max. values and then restore them manually using axes SetMinMax method.
Hope this helps!
You should use Scroll event for retrieving axes min. and max. values and then restore them manually using axes SetMinMax method.
Hope this helps!
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 |