[Metro] Plot area background

Apr 10, 2013 at 1:44 PM

Is there a way change the background of the plot area only ? (in Metro - The Background property isn't what I want because it changes the whole background of the control, not only the plot area background).

Thanks in advance,

Apr 10, 2013 at 2:32 PM
I think you can use a rectangle annotation on the entire chart (with no min/max x/y).
Apr 10, 2013 at 3:09 PM
Nice idea !

But with this code, the background don't change :
RectangleAnnotation plotBackground = new RectangleAnnotation();
plotBackground.Fill = OxyColors.Pink;
What am I doing wrong ?
Apr 11, 2013 at 1:20 PM
Try to update your plotModel and your graphic component...
Apr 11, 2013 at 1:27 PM
Already tried it, without better results :(