Skip to content

XAML examples shows on Android but not on iOS #689

Closed
@DipSwitch

Description

@DipSwitch

This is to blame to the Center in both VerticalOptions and HorizontalOptions if I change that to Fill just like in the code example it seems to work :)

<oxy:PlotView Model="{Binding Model}" VerticalOptions="Center" HorizontalOptions="Center" />

Further more I needed to apply all the given workaround provided.

Static var in AppDelegate and I have an overloaded PlotViewRenderer with latest Xamarin and OxyPlot

<package id="OxyPlot.Core" version="1.0.0-unstable1901" targetFramework="xamarinios10" />
<package id="OxyPlot.Xamarin.Forms" version="1.0.0-unstable1901" targetFramework="xamarinios10" />
<package id="OxyPlot.Xamarin.iOS" version="1.0.0-unstable1901" targetFramework="xamarinios10" />
<package id="Xamarin.Forms" version="2.0.0.6490" targetFramework="xamarinios10" />

The example on this page in particular: http://docs.oxyplot.org/en/latest/getting-started/hello-xamarin-forms.html

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