AngleAxis labels

Oystein Bjorke 10 aastat tagasi 0
This discussion was imported from CodePlex

Tasaq wrote at 2014-04-27 15:28:

I would like to have 0 degrees at the bottom of the polar plot (Example here, don't mind E and W). I've been playing with StartAngle and EndAgnle but I can't work this out. Is this even possible?

This is the code:
            var angleAxis = new AngleAxis();
            angleAxis.MajorStep = 45;
            angleAxis.Minimum = -180;
            angleAxis.Maximum = 180;
            angleAxis.MinorStep = 9;
            plotModel.Axes.Add(angleAxis);
Everything is almost ok with this, but 0 degrees are postion at left and 180 at right, I want 0 to be bottom and 180 top.

objo wrote at 2014-04-28 09:42:

It should be possible to set Minimum = 0, Maximum = 360, StartAngle = -90 and EndAngle = 270. Also see the new LabelFormatter property and the last example under "Polar plots" in the example browser.

Tasaq wrote at 2014-04-28 09:48:

I never thought about using minimum and maximum that way, now I understand how 'labeling' works. Thanks :)