Plot foreground and title styling

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

springy wrote at 2013-01-15 10:05:


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.


objo wrote at 2013-01-22 10:32:

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.