Rotate title of a LinearAxis

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

mreu wrote at 2012-08-22 14:15:


I am really new to your great OxyPlot.

I have a plot with more than one horizontal axes. Some of them are very small and the titles on the left side are clipped. How can I rotate the titles so that they are horizontal and not vertikal? I did not found how to do this.



objo wrote at 2012-08-23 08:41:

Try the "Angle" property.

Note, there is an un-solved issue

For vertical axes, I would also like to implement

mreu wrote at 2012-08-23 09:56:

Hi objo

Thanks for the quick answer, but "Angle" rotate the labels of the ticks not the title or do I miss something?



objo wrote at 2012-08-23 15:41:

Right, "Angle" rotates the labels of the ticks. Rotation of the titles is not yet implemented.

Do you want to rotate the titles of the horizontal (X) axes?

For vertical axes, the following feature is planned

mreu wrote at 2012-08-23 15:55:

Ho objo

yes, I need to rotate the titles on the left/right side. I have 9 LinearAxes (which are shown from left to right), some of them only show if it was activated or not. So I need the titles horizontal because they are truncated now.



objo wrote at 2012-08-24 09:16:

ok, I added