fix chart zoom problems