oxyplot-xamarin icon indicating copy to clipboard operation
oxyplot-xamarin copied to clipboard

Unable to scroll page when adding OxyPlot to ContentPage

Open naveeng2228 opened this issue 7 years ago • 9 comments

Steps to reproduce

  1. Create a cross-platform (Xamarin Pages) project in VS 2015 with 4.0 Framework.
  2. Now add multiple charts to your ContentPage. And Add guester listeners to few charts.
  3. Now try to launch your app on IOS devices either Iphone or Ipad.
  4. Now try to scroll the page.
  5. At-least try to perform tap on the charts those are having tap guster listeners.

Platform: Xamarin.Forms .NET version: 4.0

Expected behaviour

Page should scroll and can perform tapping operations which are working smooth in Android.

Actual behaviour

Unable to scroll the page. Or even Can't perform click operations on charts.

naveeng2228 avatar Jun 10 '17 05:06 naveeng2228

Having this issue also.

I have a handful of PlotModels in a Grid, which is contained within a scrollview. On Android, this works perfectly well, as said by naveeng2228. But on iOS, Scrolling can only be achieved by interacting with non-oxyplot elements of the UI, such as boxviews, blank spaces, etc.

However, I can interact with PlotModels using TouchStarted, TouchDelta, TouchCompleted..

NeilMalcolm avatar Jun 14 '17 07:06 NeilMalcolm

Does anyone has resolution for this problem?

ukhimesra avatar Jul 27 '17 04:07 ukhimesra

Still there is no resolution from OxyPlot Team. But I have temporally solved this issue by overlapping OxyPlotView with a transparent AbsoluteView. I am expect a solution from the OxyPlot Team.

nvngogineni avatar Aug 19 '17 22:08 nvngogineni

@nvngogineni can you show a detailed example of your fix, please?

erdmenchen avatar Aug 31 '17 08:08 erdmenchen

The bug still exists. What I did is I overlapped the graph view with a transparent UIView with same width and height to enable scrolling. But I think user interaction with the graph is not possible anymore (like scrolling or selecting graph points) but I do not need this.

hannesganthaler85 avatar Sep 18 '18 09:09 hannesganthaler85

Any update on this issue? Do we have any fix. We are also having interactions in graphs.

PavaniTatikonda27 avatar Nov 20 '20 10:11 PavaniTatikonda27

I fixed this issue by removing the pan zoom Gesture in iOS.

PavaniTatikonda27 avatar Nov 25 '20 11:11 PavaniTatikonda27

Any progress on this issue?

chaoyebugao avatar Mar 19 '21 10:03 chaoyebugao

I still have the issue in Xamarin.iOS. It is quite sad, that we cant scroll when using PlotView since 2017.

Kistelekig98 avatar Nov 11 '21 09:11 Kistelekig98