Axis label angle set to 90 degrees

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

bsguedes wrote at 2014-06-18 14:37:


When I tried to create a category axis with its labels' angles set to 90 degrees, I have the following result:


As we can see, the axis title is not shown correctly and labels that are to big are not displayed correctly.

Is this a bug or should I be setting a different property to display this information correctly?


bsguedes wrote at 2014-06-30 20:07:

Any ideas? :(

everytimer wrote at 2014-07-01 06:57:

Adjust the AxisTitleDistance property of the axis:
model.Axes[0].AxisTitleDistance = 100;
Good luck.

objo wrote at 2014-07-02 12:45:

what is the value of model.PlotMargins.Bottom? If set to NaN, the margin should be adjusted automatically. If that is not working, then it is a bug! Using the AxisTitleDistance is a work-around :-)