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

ResetZoom button no longer (11.4.5+) shown on zoom #289

Closed
jacobmattsson opened this issue Sep 3, 2024 · 2 comments
Closed

ResetZoom button no longer (11.4.5+) shown on zoom #289

jacobmattsson opened this issue Sep 3, 2024 · 2 comments
Labels

Comments

@jacobmattsson
Copy link

I was using 11.4.3 of the Android wrapper and I had zooming enabled in my charts. When a chart was zoomed (by user), the ResetZoom button was automatically shown.

After having upgraded to 11.4.5, the ResetZoom button is no longer shown on (user/touch-initiated) zoom. Have the functionality changed in 11.4.5, or is this perhaps a bug?

Notice that I use the exact same chart options (and data) in both cases; the only thing that differs is the Android wrapper version (11.4.3 vs 11.4.5).

Thanks a lot! And sorry for spamming you with issues! I'm very happy with the Android wrapper (apart from these issues)! ;-)

@MikolajMichalczak
Copy link
Contributor

HI @jacobmattsson!

This issue seems to be a bug in the core library rather than the mobile wrappers.
The problem has already been reported, and I’ll keep you updated on any progress.
Thank you for your patience!

@jacobmattsson
Copy link
Author

Thanks for you quick response, @MikolajMichalczak!

Could please link to that issue in the core library!?

I can confirm that this bug remains in version 11.4.7 of the Android wrapper.

I found a work around for this problem though, thanks to your tip in #287. 😃

By applying that event listener on both the X and Y axis, the 'reset zoom' button is automatically shown when the user zoom in and it is also (with my addition, see 289) hidden when the button is pressed and when user zooms back out to the default zoom.

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

No branches or pull requests

2 participants