PanCotzky wrote at 2012-09-19 11:18:
I'm trying to use AngleAxis in my application, but encountering a problem.
var linearAxis3 = new AngleAxis(); linearAxis3.Position = AxisPosition.Right; plotModel1.Axes.Add(linearAxis3);
When i'm starting my program, it writes "OxyPlot paint exception: Magnitude axis not defined". What am i doing wrong?
Thank you in advance!
objo wrote at 2012-09-19 11:33:
Angle/Magnitude axes are used for polar plots. See the polar plot example!
Will improve the error message!
PanCotzky wrote at 2012-09-19 12:13:
Thanks a lot! Unfortunately it is not what i wanted it to be. I need an ordinary linear axis, but labeled in degrees. Can LinearAxis be configured this way or should i use custom labels (if there are something like it)?
objo wrote at 2012-09-24 10:22:
yes, you should use a LinearAxis. Set the StringFormat property if you want custom formatting of the labels.
Customer support service by UserEcho