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

Update OxyPlot.Core to 2.1.0 #142

Merged
merged 10 commits into from
Jan 8, 2023
Merged

Update OxyPlot.Core to 2.1.0 #142

merged 10 commits into from
Jan 8, 2023

Conversation

janusw
Copy link
Member

@janusw janusw commented Jan 3, 2023

This updates OxyPlot.Core from 2.0.0 to 2.1.0 and implements the necessary API changes. It should fix #124.

It would be great if some OxyPlot maintainer could have a look at this. @objorke @VisualMelon

@janusw
Copy link
Member Author

janusw commented Jan 4, 2023

Did some basic checks with the nupkg built from this PR today, using a Xamarin.Forms app that shows a simple LineSeries plot. This kind of plot is still rendered correctly on Android and iOS. 👍

@VisualMelon
Copy link

Looking through the code quickly, nothing looks off; I'd suggest you double-check the bar series example: you may need to qualify the axis keys.

janusw added 9 commits January 8, 2023 18:02
* fixing errors like this in GHA:
  error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
* fixing errors like this in GHA:
  error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.
* "BarSeries requires a CategoryAxis on the Y Axis"
@janusw
Copy link
Member Author

janusw commented Jan 8, 2023

Looking through the code quickly, nothing looks off

Thanks for the review!

I'd suggest you double-check the bar series example: you may need to qualify the axis keys.

Indeed the BarSeries example in the SimpleDemo app was failing at runtime. I fixed it now by qualifying the axis keys, as you suggested. With that addition, this PR should be complete, I guess.

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

Successfully merging this pull request may close these issues.

Mismatch version Oxyplot.Xamarin.Forms targetting Oxyplot.Core 2.0.0
2 participants