Page 1 of 1

chart zoom

Posted: Mon Jan 17, 2005 9:17 pm
by 9340187
we have a chart where we set
allowzoom:=True and
zoomdirection=horizontal in the chart editor. then,
\when we aoom as in chart.zoompercent(125), both axes zoom.
How can we restrict zoom to horiz axis?

Thanks,

Jennifer

Posted: Tue Jan 18, 2005 12:49 am
by Pep
Hi Jennifer,

yes, you're correct, it's a known bug, already added on our defect list, a fix for it will be considered to inclusion for the next maintenance releases. In meantime the solution is to reset the axis scale in the OnZoom event :
if zoom.direction = horiz then
tchart1.axis.left.automatic = false
end if