PlotAreaBackground in WPF

Dec 16, 2013 at 7:39 PM
Hi all

If I want to change the plot area color I use this code in c#

ex.
MyPlotModel.PlotAreaBackground = OxyColors.Gray;

But how would I do this direcly in WPF ?

This is no PlotAreaBackground in <oxy:Plot>. Background is for the whole graph.

Thanks in advance.
Kcsorensen
Coordinator
Dec 16, 2013 at 8:55 PM
I added the property
Dec 16, 2013 at 10:01 PM
Thanks

I have updated the library so its 16. december through NuGet but I still dont see it?

Should I be able to write it like this ?

ex.
<oxy:Plot PlotAreaBackground="Gray">

Regards
Kcsorensen
Coordinator
Dec 16, 2013 at 10:11 PM
Yes, it should be included in version 2013.2.142.1
Dec 16, 2013 at 10:21 PM
I only had 2013.2.141.1.

I can confirm it works with 2013.2.142.1. Thanks alot!