【问题标题】:Oxyplot xamarin forms pinch zoom and panning not working for Linear seriesOxyplot xamarin 形成捏缩放和平移不适用于线性系列
【发布时间】:2020-04-26 06:20:42
【问题描述】:

我正在尝试在 oxyplot Linear 系列中实现缩放和平移,但它无法识别缩放或平移。 我在两个轴上都使用 IsZoomEnabled = true, IsPanEnabled = true。 我错过了什么吗?

【问题讨论】:

    标签: xamarin.forms oxyplot


    【解决方案1】:

    这是一个非常古老的issue,尚未解决。

    更新:我找到了另一个 issue link 并使用 Xamarin.Forms 项目测试了 OxyPlot.Core 1.0.0 的工作。缩放效果很好!

    【讨论】:

      【解决方案2】:

      如果这可以帮助任何正在寻找解决方案的人,请回答我自己的问题。

      我已经删除了 OxyPlot.Core 2.0 并且只在 PCL、Android 和 IOS 中使用了 OxyPlot.Xamarin.Forms nuget 包。 这解决了我在 OxyPlot.Core 包中遇到的缩放和平移问题。

      【讨论】:

        猜你喜欢
        • 2013-12-12
        • 2023-03-27
        • 2021-09-19
        • 2018-12-30
        • 1970-01-01
        • 1970-01-01
        • 2017-03-04
        • 2020-04-07
        • 2013-01-17
        相关资源
        最近更新 更多