oxyplot / oxyplot-xamarin

OxyPlot for Xamarin.Mac and Xamarin.Forms
MIT License
64 stars 59 forks source link

Unable to scroll page when adding OxyPlot to ContentPage #61

Open naveeng2228 opened 7 years ago

naveeng2228 commented 7 years ago

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.

NeilMalcolm commented 7 years ago

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..

ukhimesra commented 7 years ago

Does anyone has resolution for this problem?

nvngogineni commented 7 years ago

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.

erdmenchen commented 7 years ago

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

hannesganthaler85 commented 6 years ago

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.

PavaniTatikonda27 commented 3 years ago

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

PavaniTatikonda27 commented 3 years ago

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

chaoyebugao commented 3 years ago

Any progress on this issue?

Kistelekig98 commented 2 years ago

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