Rotate title of a LinearAxis

Oystein Bjorke 10 years ago updated by Che 5 years ago 2
This discussion was imported from CodePlex

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

Hi

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.

Thanks

Michael


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

Try the "Angle" property.

Note, there is an un-solved issue http://oxyplot.codeplex.com/workitem/9594-

For vertical axes, I would also like to implement http://oxyplot.codeplex.com/workitem/9972.


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?

Thanks

Michael


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 http://oxyplot.codeplex.com/workitem/9972.


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.

Thanks

Michael


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

ok, I added http://oxyplot.codeplex.com/workitem/9994

Did any of these changes get implemented? 

I looking for a way to more accurately specify the position and rotation of the axis title.

For vertical axes I'd like to be able to write the title above the labels and in horizontal orientation.

For horizontal axes I'd like to write the title at the same height as the labels.

Thank you

Did any of these changes get implemented?

I looking for a way to more accurately specify the position and rotation of the axis title.

For vertical axes I'd like to be able to write the title above the labels and in horizontal orientation.

For horizontal axes I'd like to write the title at the same height as the labels.

Thank you