Xamarin - Blurry Graphs

Feb 24, 2014 at 6:06 PM
First, amazing library, I was able to swap out core-plot and had OxyPlot up and running in my iOS application in a couple of hours.

I am having a bit of an issue with the generated graphs, and maybe I'm missing something simple, but all of the graphs created on the simulator and on the devices appear blurry. See the attached screen shot:

Image

Thoughts? Thanks!
Coordinator
Feb 24, 2014 at 9:00 PM
I think the problem was that the example used an UIScrollView to show the plot. I am currently refactoring the iOS port. A much better Plot view will be available soon!
Feb 25, 2014 at 12:09 AM
Excited to see it!

Let me know if you need help with device testing.
Coordinator
Feb 25, 2014 at 7:12 AM
Yes, help on device testing (particularly older iOS devices) would be great.
I am currently trying to fix the image rendering (having some issues on partial image drawing) and touch events (depends on https://oxyplot.codeplex.com/workitem/9625) on the iOS control.
Coordinator
Feb 27, 2014 at 9:37 PM
I have pushed the current version of the iOS control to default. The new version should not be blurry, and should also render aliased (e.g. axis/grid lines) much nicer. Can you check this on your devices?
There are still some issues remaining on image drawing and text rendering (should use Core Text). Also the touch events are not handled (waiting for #9625 to be pulled in).
Marked as answer by benhysell on 3/2/2014 at 10:07 AM
Feb 28, 2014 at 12:51 AM
I just pulled down the latest default, and my graphs now look great using the new iOS control PlotView. The example app looks great, as well as my own app where I swapped out core-plot for Oxyplot.

As for hardware I tested with what I had on hand, a 5s and iPad3.

I ran Instruments against the iPad3 in debug mode, and was happy to see memory and CPU usage were both super low. As a comparison, doing the same exact work using core-plot on the iPad would either result in a soft reset because I consumed 300 MB of memory, or 100% CPU usage for a prolonged period of time while rendering three plots.

Did the Xamarin.Android project get the same treatment, or was this not a problem on the Android side?
Coordinator
Feb 28, 2014 at 6:18 AM
I have not tested Xamarin.Android yet, will do this when I am finished with iOS.