Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in zoomListener isZoomIn only works with zoom buttons and not with pinch zoom #470

Open
GoogleCodeExporter opened this issue Jul 4, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. isZoomIn returns true too during zooming out
2. But only when pinch zoom 

What is the expected output? What do you see instead?
isZoomin returns false during pinch zoom

Please provide a source code snippet that we can use to replicate the
issue.

mChartView.addZoomListener(new ZoomListener() {
   public void zoomApplied(ZoomEvent e) {
      String type = "out";
      if (e.isZoomIn()) {
        type = "in";
      }
      Log.i("Zoom", "Zoom " + type + " rate " + e.getZoomRate());
   }

   public void zoomReset() {
      Log.i("Zoom", "Reset");
   }
}, true, true);

What version of the product binary library are you using?
1.2.0

Please provide any additional information below.




Original issue reported on code.google.com by takacs.b...@gmail.com on 20 Jan 2015 at 11:03

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant