If you are using the latest version of OxyPlot it wont work. I updated to the latest version some time ago, and the above code stopped working.
I downgraded to version "2014.1.231.1" and it works with that version, so they must have changed something in the underlying rendering code....
I downgraded to version "2014.1.231.1" and it works with that version, so they must have changed something in the underlying rendering code....