OxyPlot DataPoint and Drawing Point extension methods

Oystein Bjorke hace 10 años 0
This discussion was imported from CodePlex

Slxe wrote at 2014-06-18 20:05:

I've had a reason come up to store values as PointF and convert them to DataPoints so that the user doesn't have to have the OxyPlot namespace when interacting with a simple control built around it. So for the hell of it I wrote some extension methods that I figured I'd share in case anyone else found them helpful:

https://gist.github.com/Slxe/a0c1e2cfbde4b95df650

(Let me know if you see any errors, learning advanced C# stuff as I go atm, so any feedback at all is helpful =D)