Description
Problem with Oxyplot on Xamarin forms Android :
i have line chart in a scroll view (With horizontal scroll). chart width is set using "WidthRequest" binding (MVVM) in xaml. i am updating width of the chart based on number of data points (e.g number of data points * 25)
following piece of code shows my chart binding:
<ScrollView Orientation="Horizontal" HorizontalOptions="FillAndExpand"> <oxy:PlotView Model="{Binding PlotModel}" WidthRequest="{Binding ChartWidth}" /> </ScrollView>
this line chart has 3 line series with line style solid and axis line style solid.
everything work well (chart is drawn correct, lines are displayed, axis lines are displayed, chart scrolls), until chart width goes beyond certain value (when data points increase over the time).
on android device (Xiomi Redmi 2 Prime), after width crosses 2475 points, series lines and axis lines disappear (data points are still shown, scroll works perfect, just series lines and axis lines disappear) .
i did test on different android devices and noticed that lines disappear at different widths on different devices (not fixed 2475 points).
following are couple of screens:
http://www.screencast.com/t/8p8AC5KWokw
http://www.screencast.com/t/XOkZ51nIQB
i would really appreciate any help, i will try and create a demo project and submit a link with this
problem.