Skip to content

OxyPlot.Xamarin.Forms v1.0.0 Zoom and pan only work in debug #146

Open
@drormekorot

Description

@drormekorot

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 than OxyPlot.Xamarin.Forms.Platform.Android.PlotViewRenderer.Init(); to force the linker to keep all of OxyPlot's source code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions