Change axis textcolor in OxyPlot for WPF

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

Artholl wrote at 2014-07-07 22:50:

Hi, I have one question. How is it possible to change color of axis text color in WPF? In OxyPlot.dll you have Axis.TextColor property which comes from OxyPlot.PlotElement class. But in OxyPlot.Wpf.dll you don't have Axis.TextColor property. Probably because Axis is not inherited from OxyPlot.PlotElement class but from System.Windows.FrameworkElement class.
So my question is: Is there some way how I can achieve this?

I also posted question on StackOverflow.

objo wrote at 2014-07-10 12:40:

This should be covered by https://oxyplot.codeplex.com/workitem/9999. There is a lot of properties not yet covered.
I also think we should add a OxyPlot.Wpf.PlotElement class and let the Axis class inherit from this!

Artholl wrote at 2014-07-10 13:12:

OK, thanks. Good to know that.
CodePlex