how to check if chart is scrolled and the scroll amounts
Posted: Tue May 06, 2008 12:47 pm
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
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