Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AreaSeries disapears when zomming in #113

Open
Enigma86d opened this issue Mar 12, 2021 · 1 comment
Open

AreaSeries disapears when zomming in #113

Enigma86d opened this issue Mar 12, 2021 · 1 comment
Labels

Comments

@Enigma86d
Copy link

Enigma86d commented Mar 12, 2021

Steps to reproduce

  1. Create a Xamarin forms project targeting at least UWP.
  2. Create a PlotModel and an AreaSeries with a fill color and add certain points
  3. Add the AreaSeries to the PlotModel and run the app in Windows.

Details:
Visual Studio 2019 Version 16.5.1
.NET standard 2.0 (I was not able to make it run using 2.1)
Nuget:
Xamarin.Forms v5.0.0.2012 (latest)
Xamarin.Essentials v1.6.1
OxyPlot.Xamarin.Forms v1.1.0-unstable0011 (tried 1.0.0 as ell)
NETStandard.Library v2.0.3
Microsoft.NETCore.UniversalWindowsPlatform v6.2.12

Expected behavior: the area series should remain visible if zooming into it (the fill color should remain on the screen

Actual behavior: the fill color disappears from the screen
Print screens show expected behavior if drawing a square.
However, if drawing an odd shape, the fill color disappears after zooming in.

A few things which I am not sure about and don't know if could be related to the issue. As soon as I add OxyPlot to a new Xamarin Forms project I get a few warnings like the below one and I don't know how to resolve them and if they are a concern:
Severity Code Description Project File Line Suppression State
Warning NU1701 Package 'OxyPlot.Xamarin.Forms 1.1.0-unstable0011' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETStandard,Version=v2.0'. This package may not be fully compatible with your project. OxyPlotTest C:\Users\Marius\Desktop\OxyPlotTest\OxyPlotTest\OxyPlotTest.csproj 1
Trying .NET standard 1.6 or 2.1 brings compatibility errors.

square
square_with_zoom_OK
custom_shape
custom_shape_with_zoom_NOK
OxyPlotTest.zip

@Enigma86d
Copy link
Author

This issue appears on Android as well (not just UWP).
It's there any fix/workaround for this?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants