-
Notifications
You must be signed in to change notification settings - Fork 58
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
OxyPlot.Xamarin.Forms v1.0.0 Zoom and pan only work in debug #146
Comments
Note that 1.0.0 is 6 years old by now. I don't think we'll fix any bugs for that version any more. Sorry! Is there any reason why you can't use version 2.0.0 or 2.1.0? If not, please try 2.1.0, which is the latest released version, and tell us if the problem also exists there. |
Interestingly enough, I did start the development with 2.1.0, but zoom and pan do not respond at all on the latest version. I found The graph does appear on both versions. I will be happy to try and solve this issue on 2.1.0, please let me know what other information I can provide. |
Alright, thanks for the feedback. Apparently this is related to issue #62. If it was working (partly) with 1.0.0, but not with 2.1.0, we can hopefully find out when and how it broke. As an additional data point, could you maybe check if zoom/pan works with version 2.0.0 on Android? |
We based the Avalonia touch-input work on Xamarin, so may be some clues in what we had to change for that: oxyplot/oxyplot-avalonia@a067e00 (can't find the discussion around that commit, unfortunately) If Does the tracker work in 2.1.0? |
I checked v2.0.0 on Android, graph is displayed but zoom/pan do not respond The issue is not related to the linker on 2.1.0 as zoom and pan do not respond on debug, which does not use the linker. Please let me know what you require in order to investigate this further, I'll be happy to provide |
Just checked with iOS, zoom and pan do not respond on 2.0.0 and 2.1.0. To summarize: iOS zoom+pan respond on 1.0.0, both debug and release 2.0.0 and 2.1.0, zoom+pan do not respond on iOS and Android Let me know what you need in order to investigate it. |
@janusw any way I can help move this forward? |
Any update on this ticket as Zoom and Pan is not working in the 2.1.0 version |
I'm using OxyPlot.Xamarin.Forms v1.0.0 via NuGet.
I'm displaying a linear graph and it works great along with zoom and pan, as long as I am in debug.
As soon as I switch to release, the graph appears but both zoom and pan do not respond.
This occurs only on Android, on iOS zoom and pan work in release.
My guess is that
PlotController
is being dropped by the linker, since I did have some issues with it in the past with db classes.Is there anything that should be added to
OnCreate
other thanOxyPlot.Xamarin.Forms.Platform.Android.PlotViewRenderer.Init();
to force the linker to keep all of OxyPlot's source code?The text was updated successfully, but these errors were encountered: