Plot foreground and title styling

Jan 15, 2013 at 10:05 AM

Hi,

Great component, managed to meet my requirements within minutes of using it.  However, I can't seem to work out how to style the plot.  Basically I want the title and legend text in white, and the border of the plot white.  I've tried the following properties on the plot but they don't seem to make any difference;

  • TextColor="White"
  • Foreground="White"
  • PlotAreaBorderColor="White"

Any help much appreciated.

Lee.

Coordinator
Jan 22, 2013 at 10:32 AM

I added a new example "ColorBindingDemo" in Examples/WPF/WpfExamples. It seems to work as expected. The inherited property Foreground is not in use.

If you change the colors in a PlotModel, remember to refresh the plot afterwards - this is not handled automatically.